Skip to content

Commit 8464a25

Browse files
committed
Generate with debug
1 parent 910c552 commit 8464a25

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

docsrs_bindings.rs

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ where
8080
}
8181
}
8282
}
83-
pub const ZEND_DEBUG: u32 = 0;
83+
pub const ZEND_DEBUG: u32 = 1;
8484
pub const _ZEND_TYPE_NAME_BIT: u32 = 8388608;
8585
pub const _ZEND_TYPE_NULLABLE_BIT: u32 = 2;
8686
pub const HT_MIN_SIZE: u32 = 8;
@@ -455,10 +455,22 @@ pub struct _zend_ast_ref {
455455
pub gc: zend_refcounted_h,
456456
}
457457
extern "C" {
458-
pub fn _emalloc(size: usize) -> *mut ::std::os::raw::c_void;
458+
pub fn _emalloc(
459+
size: usize,
460+
__zend_filename: *const ::std::os::raw::c_char,
461+
__zend_lineno: u32,
462+
__zend_orig_filename: *const ::std::os::raw::c_char,
463+
__zend_orig_lineno: u32,
464+
) -> *mut ::std::os::raw::c_void;
459465
}
460466
extern "C" {
461-
pub fn _efree(ptr: *mut ::std::os::raw::c_void);
467+
pub fn _efree(
468+
ptr: *mut ::std::os::raw::c_void,
469+
__zend_filename: *const ::std::os::raw::c_char,
470+
__zend_lineno: u32,
471+
__zend_orig_filename: *const ::std::os::raw::c_char,
472+
__zend_orig_lineno: u32,
473+
);
462474
}
463475
extern "C" {
464476
pub fn __zend_malloc(len: usize) -> *mut ::std::os::raw::c_void;
@@ -1651,6 +1663,11 @@ pub struct _php_stream_wrapper_ops {
16511663
options: ::std::os::raw::c_int,
16521664
opened_path: *mut *mut zend_string,
16531665
context: *mut php_stream_context,
1666+
__php_stream_call_depth: ::std::os::raw::c_int,
1667+
__zend_filename: *const ::std::os::raw::c_char,
1668+
__zend_lineno: u32,
1669+
__zend_orig_filename: *const ::std::os::raw::c_char,
1670+
__zend_orig_lineno: u32,
16541671
) -> *mut php_stream,
16551672
>,
16561673
pub stream_closer: ::std::option::Option<
@@ -1683,6 +1700,11 @@ pub struct _php_stream_wrapper_ops {
16831700
options: ::std::os::raw::c_int,
16841701
opened_path: *mut *mut zend_string,
16851702
context: *mut php_stream_context,
1703+
__php_stream_call_depth: ::std::os::raw::c_int,
1704+
__zend_filename: *const ::std::os::raw::c_char,
1705+
__zend_lineno: u32,
1706+
__zend_orig_filename: *const ::std::os::raw::c_char,
1707+
__zend_orig_lineno: u32,
16861708
) -> *mut php_stream,
16871709
>,
16881710
pub label: *const ::std::os::raw::c_char,
@@ -1762,6 +1784,8 @@ pub struct _php_stream {
17621784
pub readpos: zend_off_t,
17631785
pub writepos: zend_off_t,
17641786
pub chunk_size: usize,
1787+
pub open_filename: *const ::std::os::raw::c_char,
1788+
pub open_lineno: u32,
17651789
pub enclosing_stream: *mut _php_stream,
17661790
}
17671791
impl _php_stream {

0 commit comments

Comments
 (0)