diff --git a/src/zend/function.rs b/src/zend/function.rs index 51d3e8c..ba889d7 100644 --- a/src/zend/function.rs +++ b/src/zend/function.rs @@ -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_ }) - } -}