File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ use crate::{
99use std:: { ffi:: CString , mem, ptr} ;
1010
1111/// Function representation in Rust.
12- #[ cfg( not( windows) ) ]
12+ #[ cfg( not( arget_family = " windows" ) ) ]
1313pub type FunctionHandler = extern "C" fn ( execute_data : & mut ExecuteData , retval : & mut Zval ) ;
14- #[ cfg( windows) ]
14+ #[ cfg( target_family = " windows" ) ]
1515pub type FunctionHandler =
1616 extern "vectorcall" fn ( execute_data : & mut ExecuteData , retval : & mut Zval ) ;
1717
1818/// Function representation in Rust using pointers.
19- #[ cfg( not( windows) ) ]
19+ #[ cfg( not( target_family = " windows" ) ) ]
2020type FunctionPointerHandler = extern "C" fn ( execute_data : * mut ExecuteData , retval : * mut Zval ) ;
21- #[ cfg( windows) ]
21+ #[ cfg( target_family = " windows" ) ]
2222type FunctionPointerHandler =
2323 extern "vectorcall" fn ( execute_data : * mut ExecuteData , retval : * mut Zval ) ;
2424
You can’t perform that action at this time.
0 commit comments