Type Alias ext_php_rs::zend::FunctionEntry

source ·
pub type FunctionEntry = zend_function_entry;
Expand description

A Zend function entry.

Aliased Type§

struct FunctionEntry {
    pub fname: *const i8,
    pub handler: Option<unsafe extern "C" fn(_: *mut _zend_execute_data, _: *mut _zval_struct)>,
    pub arg_info: *const _zend_internal_arg_info,
    pub num_args: u32,
    pub flags: u32,
}

Fields§

§fname: *const i8§handler: Option<unsafe extern "C" fn(_: *mut _zend_execute_data, _: *mut _zval_struct)>§arg_info: *const _zend_internal_arg_info§num_args: u32§flags: u32

Implementations§

source§

impl FunctionEntry

source

pub fn end() -> Self

Returns an empty function entry, signifing the end of a function list.

source

pub fn into_raw(self) -> *mut Self

Converts the function entry into a raw and pointer, releasing it to the C world.

Trait Implementations§

source§

impl Debug for FunctionEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more