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_unregister_url_stream_wrapper_volatile,
|
||||||
php_register_url_stream_wrapper_volatile,
|
php_register_url_stream_wrapper_volatile,
|
||||||
php_stream_wrapper,
|
php_stream_wrapper,
|
||||||
zend_llist_get_prev_ex,
|
|
||||||
php_stream_stdio_ops
|
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::{
|
use crate::{
|
||||||
args::ArgParser,
|
args::ArgParser,
|
||||||
@ -233,15 +233,11 @@ impl ExecuteData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn previous(&self) -> Option<&Self> {
|
pub fn previous(&self) -> Option<&Self> {
|
||||||
unsafe {
|
unsafe { self.prev_execute_data.as_ref() }
|
||||||
self.prev_execute_data.as_ref()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn function(&self) -> Option<&_zend_function> {
|
pub fn function(&self) -> Option<&_zend_function> {
|
||||||
unsafe {
|
unsafe { self.func.as_ref() }
|
||||||
self.func.as_ref()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user