Skip to content

Commit b33d707

Browse files
committed
chore: Declare php_interface in prelude
1 parent eba9a35 commit b33d707

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ parking_lot = "0.12"
1717
cfg-if = "1.0"
1818
once_cell = "1.17"
1919
anyhow = { version = "1", optional = true }
20-
ext-php-rs-derive = { version = "=0.10.2", path = "./crates/macros" }
20+
ext-php-rs-derive = { version = "=0.11.0", path = "./crates/macros" }
2121

2222
[dev-dependencies]
2323
skeptic = "0.13"

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ pub mod prelude {
4747
pub use crate::php_println;
4848
pub use crate::types::ZendCallable;
4949
pub use crate::{
50-
php_class, php_const, php_extern, php_function, php_impl, php_module, wrap_constant,
51-
wrap_function, zend_fastcall, ZvalConvert,
50+
php_class, php_const, php_extern, php_function, php_impl, php_interface, php_module,
51+
wrap_constant, wrap_function, zend_fastcall, ZvalConvert,
5252
};
5353
}
5454

@@ -62,6 +62,6 @@ pub const PHP_DEBUG: bool = cfg!(php_debug);
6262
pub const PHP_ZTS: bool = cfg!(php_zts);
6363

6464
pub use ext_php_rs_derive::{
65-
php_class, php_const, php_extern, php_function, php_impl, php_module, wrap_constant,
66-
wrap_function, zend_fastcall, ZvalConvert,
65+
php_class, php_const, php_extern, php_function, php_impl, php_interface, php_module,
66+
wrap_constant, wrap_function, zend_fastcall, ZvalConvert,
6767
};

0 commit comments

Comments
 (0)