mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-12-03 10:07:44 +01:00
Revert change to function
This commit is contained in:
parent
1c550852ab
commit
cb89c7b4d8
@ -2,7 +2,7 @@
|
||||
|
||||
use std::{fmt::Debug, os::raw::c_char, ptr};
|
||||
|
||||
use crate::{ffi::{zend_function_entry, zend_function}, flags::FunctionType};
|
||||
use crate::ffi::zend_function_entry;
|
||||
|
||||
/// A Zend function entry.
|
||||
pub type FunctionEntry = zend_function_entry;
|
||||
@ -36,11 +36,3 @@ impl FunctionEntry {
|
||||
Box::into_raw(Box::new(self))
|
||||
}
|
||||
}
|
||||
|
||||
pub type Function = zend_function;
|
||||
|
||||
impl Function {
|
||||
pub fn type_(&self) -> FunctionType {
|
||||
FunctionType::from(unsafe { self.type_ })
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user