diff --git a/allowed_bindings.rs b/allowed_bindings.rs index 5b96e76..d67347a 100644 --- a/allowed_bindings.rs +++ b/allowed_bindings.rs @@ -270,6 +270,5 @@ bind! { php_unregister_url_stream_wrapper_volatile, php_register_url_stream_wrapper_volatile, php_stream_wrapper, - zend_llist_get_prev_ex, php_stream_stdio_ops } diff --git a/src/zend/ex.rs b/src/zend/ex.rs index a90a2f4..fac1b93 100644 --- a/src/zend/ex.rs +++ b/src/zend/ex.rs @@ -1,4 +1,4 @@ -use crate::ffi::{zend_execute_data, ZEND_MM_ALIGNMENT, ZEND_MM_ALIGNMENT_MASK, _zend_function}; +use crate::ffi::{_zend_function, zend_execute_data, ZEND_MM_ALIGNMENT, ZEND_MM_ALIGNMENT_MASK}; use crate::{ args::ArgParser, @@ -233,15 +233,11 @@ impl ExecuteData { } pub fn previous(&self) -> Option<&Self> { - unsafe { - self.prev_execute_data.as_ref() - } + unsafe { self.prev_execute_data.as_ref() } } pub fn function(&self) -> Option<&_zend_function> { - unsafe { - self.func.as_ref() - } + unsafe { self.func.as_ref() } } }