Type Alias ext_php_rs::ffi::zend_object_cast_t
source · pub type zend_object_cast_t = Option<unsafe extern "C" fn(readobj: *mut zend_object, retval: *mut zval, type_: c_int) -> zend_result>;
Aliased Type§
enum zend_object_cast_t {
None,
Some(unsafe extern "C" fn(_: *mut _zend_object, _: *mut _zval_struct, _: i32) -> i32),
}
Variants§
None
No value.
Some(unsafe extern "C" fn(_: *mut _zend_object, _: *mut _zval_struct, _: i32) -> i32)
Some value of type T
.