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 692c6bd commit b4ff5bbCopy full SHA for b4ff5bb
src/builders/function.rs
@@ -5,10 +5,7 @@ use crate::{
5
types::Zval,
6
zend::{ExecuteData, FunctionEntry, ZendType},
7
};
8
-use std::{
9
- ffi::{c_char, CString},
10
- mem, ptr,
11
-};
+use std::{ffi::CString, mem, ptr};
12
13
/// Function representation in Rust.
14
#[cfg(not(windows))]
@@ -59,9 +56,9 @@ impl<'a> FunctionBuilder<'a> {
59
56
num_args: 0,
60
57
flags: 0,
61
58
#[cfg(php84)]
62
- frameless_function_infos: ptr::null(),
+ doc_comment: ptr::null(),
63
64
- doc_comment: "".as_ptr() as *const c_char,
+ frameless_function_infos: ptr::null(),
65
},
66
args: vec![],
67
n_req: None,
0 commit comments