Skip to content

Commit

Permalink
Fix doc bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcole1340 committed Oct 6, 2021
1 parent 88e0d7b commit 50b70c2
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docsrs_bindings.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.58.0 */
/* automatically generated by rust-bindgen 0.59.1 */

/// This file is used to build the documentation for `ext-php-rs` when being built on docs.rs runners.
/// As these runners do not have PHP 8.0 installed, they are unable to generate the bindings to the PHP
Expand Down Expand Up @@ -237,7 +237,6 @@ pub struct _Bucket {
pub type Bucket = _Bucket;
pub type HashTable = _zend_array;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_array {
pub gc: zend_refcounted_h,
pub u: _zend_array__bindgen_ty_1,
Expand Down Expand Up @@ -480,7 +479,6 @@ pub struct _zend_trait_alias {
}
pub type zend_trait_alias = _zend_trait_alias;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_class_entry {
pub type_: ::std::os::raw::c_char,
pub name: *mut zend_string,
Expand Down Expand Up @@ -595,6 +593,9 @@ pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
pub builtin_functions: *const _zend_function_entry,
pub module: *mut _zend_module_entry,
}
extern "C" {
pub static mut zend_standard_class_def: *mut zend_class_entry;
}
pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
pub type zend_error_handling_t = ::std::os::raw::c_uint;
Expand Down Expand Up @@ -977,6 +978,9 @@ pub type zend_stack = _zend_stack;
extern "C" {
pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
}
extern "C" {
pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
}
Expand Down Expand Up @@ -1190,6 +1194,17 @@ extern "C" {
named_params: *mut HashTable,
) -> zend_result;
}
extern "C" {
pub fn zend_call_known_function(
fn_: *mut zend_function,
object: *mut zend_object,
called_scope: *mut zend_class_entry,
retval_ptr: *mut zval,
param_count: u32,
params: *mut zval,
named_params: *mut HashTable,
);
}
pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
pub const _zend_expected_type_Z_EXPECTED_LONG_OR_NULL: _zend_expected_type = 1;
pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 2;
Expand Down

0 comments on commit 50b70c2

Please sign in to comment.