Expand description
Macros for the php-ext
crate.
Macros§
- wrap_
constant - Wraps a constant to be used in the [
ModuleBuilder::constant
] method. - wrap_
function - Wraps a function to be used in the [
Module::function
] method. - zend_
fastcall - Defines an
extern
function with the Zend fastcall convention based on operating system.
Attribute Macros§
- php_
class #[php_class]
Attribute- php_
const #[php_const]
Attribute- php_
extern #[php_extern]
Attribute- php_
function #[php_function]
Attribute- php_
impl #[php_impl]
Attribute- php_
module #[php_module]
Attribute
Derive Macros§
- Zval
Convert ZvalConvert
Derive Macro