Type Alias FunctionEntry

Source
pub type FunctionEntry = zend_function_entry;
Expand description

A Zend function entry.

Aliased Type§

#[repr(C)]
pub 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