mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-12-02 17:50:55 +01:00
Fix allowed bindings duplication
This commit is contained in:
parent
95ce6527cf
commit
52525f249f
@ -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
|
||||
}
|
||||
|
@ -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() }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user