|
1 | | -/* automatically generated by rust-bindgen 0.58.0 */ |
| 1 | +/* automatically generated by rust-bindgen 0.59.1 */ |
2 | 2 |
|
3 | 3 | /// This file is used to build the documentation for `ext-php-rs` when being built on docs.rs runners. |
4 | 4 | /// As these runners do not have PHP 8.0 installed, they are unable to generate the bindings to the PHP |
@@ -237,7 +237,6 @@ pub struct _Bucket { |
237 | 237 | pub type Bucket = _Bucket; |
238 | 238 | pub type HashTable = _zend_array; |
239 | 239 | #[repr(C)] |
240 | | -#[derive(Copy, Clone)] |
241 | 240 | pub struct _zend_array { |
242 | 241 | pub gc: zend_refcounted_h, |
243 | 242 | pub u: _zend_array__bindgen_ty_1, |
@@ -480,7 +479,6 @@ pub struct _zend_trait_alias { |
480 | 479 | } |
481 | 480 | pub type zend_trait_alias = _zend_trait_alias; |
482 | 481 | #[repr(C)] |
483 | | -#[derive(Copy, Clone)] |
484 | 482 | pub struct _zend_class_entry { |
485 | 483 | pub type_: ::std::os::raw::c_char, |
486 | 484 | pub name: *mut zend_string, |
@@ -595,6 +593,9 @@ pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 { |
595 | 593 | pub builtin_functions: *const _zend_function_entry, |
596 | 594 | pub module: *mut _zend_module_entry, |
597 | 595 | } |
| 596 | +extern "C" { |
| 597 | + pub static mut zend_standard_class_def: *mut zend_class_entry; |
| 598 | +} |
598 | 599 | pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0; |
599 | 600 | pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1; |
600 | 601 | pub type zend_error_handling_t = ::std::os::raw::c_uint; |
@@ -977,6 +978,9 @@ pub type zend_stack = _zend_stack; |
977 | 978 | extern "C" { |
978 | 979 | pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry); |
979 | 980 | } |
| 981 | +extern "C" { |
| 982 | + pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object; |
| 983 | +} |
980 | 984 | extern "C" { |
981 | 985 | pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object); |
982 | 986 | } |
@@ -1190,6 +1194,17 @@ extern "C" { |
1190 | 1194 | named_params: *mut HashTable, |
1191 | 1195 | ) -> zend_result; |
1192 | 1196 | } |
| 1197 | +extern "C" { |
| 1198 | + pub fn zend_call_known_function( |
| 1199 | + fn_: *mut zend_function, |
| 1200 | + object: *mut zend_object, |
| 1201 | + called_scope: *mut zend_class_entry, |
| 1202 | + retval_ptr: *mut zval, |
| 1203 | + param_count: u32, |
| 1204 | + params: *mut zval, |
| 1205 | + named_params: *mut HashTable, |
| 1206 | + ); |
| 1207 | +} |
1193 | 1208 | pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0; |
1194 | 1209 | pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1; |
1195 | 1210 | pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2; |
|
0 commit comments