Skip to content

Commit 50b70c2

Browse files
committed
Fix doc bindings
1 parent 88e0d7b commit 50b70c2

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

docsrs_bindings.rs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.58.0 */
1+
/* automatically generated by rust-bindgen 0.59.1 */
22

33
/// This file is used to build the documentation for `ext-php-rs` when being built on docs.rs runners.
44
/// 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 {
237237
pub type Bucket = _Bucket;
238238
pub type HashTable = _zend_array;
239239
#[repr(C)]
240-
#[derive(Copy, Clone)]
241240
pub struct _zend_array {
242241
pub gc: zend_refcounted_h,
243242
pub u: _zend_array__bindgen_ty_1,
@@ -480,7 +479,6 @@ pub struct _zend_trait_alias {
480479
}
481480
pub type zend_trait_alias = _zend_trait_alias;
482481
#[repr(C)]
483-
#[derive(Copy, Clone)]
484482
pub struct _zend_class_entry {
485483
pub type_: ::std::os::raw::c_char,
486484
pub name: *mut zend_string,
@@ -595,6 +593,9 @@ pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
595593
pub builtin_functions: *const _zend_function_entry,
596594
pub module: *mut _zend_module_entry,
597595
}
596+
extern "C" {
597+
pub static mut zend_standard_class_def: *mut zend_class_entry;
598+
}
598599
pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
599600
pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
600601
pub type zend_error_handling_t = ::std::os::raw::c_uint;
@@ -977,6 +978,9 @@ pub type zend_stack = _zend_stack;
977978
extern "C" {
978979
pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
979980
}
981+
extern "C" {
982+
pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
983+
}
980984
extern "C" {
981985
pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
982986
}
@@ -1190,6 +1194,17 @@ extern "C" {
11901194
named_params: *mut HashTable,
11911195
) -> zend_result;
11921196
}
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+
}
11931208
pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
11941209
pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1;
11951210
pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2;

0 commit comments

Comments
 (0)