Crate ext_php_rs_derive

Source
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§

ZvalConvert
ZvalConvert Derive Macro