We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c55085 commit cb89c7bCopy full SHA for cb89c7b
src/zend/function.rs
@@ -2,7 +2,7 @@
2
3
use std::{fmt::Debug, os::raw::c_char, ptr};
4
5
-use crate::{ffi::{zend_function_entry, zend_function}, flags::FunctionType};
+use crate::ffi::zend_function_entry;
6
7
/// A Zend function entry.
8
pub type FunctionEntry = zend_function_entry;
@@ -36,11 +36,3 @@ impl FunctionEntry {
36
Box::into_raw(Box::new(self))
37
}
38
39
-
40
-pub type Function = zend_function;
41
42
-impl Function {
43
- pub fn type_(&self) -> FunctionType {
44
- FunctionType::from(unsafe { self.type_ })
45
- }
46
-}
0 commit comments