Skip to content

Commit

Permalink
Merge pull request #378 from DelSkayn/update-bindings
Browse files Browse the repository at this point in the history
Update bindings
  • Loading branch information
DelSkayn authored Nov 5, 2024
2 parents 98a3220 + 2dfaf42 commit 9e0229a
Show file tree
Hide file tree
Showing 11 changed files with 1,160 additions and 1,262 deletions.
12 changes: 11 additions & 1 deletion sys/src/bindings/aarch64-apple-darwin.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.69.4 */
/* automatically generated by rust-bindgen 0.69.5 */

pub const JS_PROP_CONFIGURABLE: u32 = 1;
pub const JS_PROP_WRITABLE: u32 = 2;
Expand Down Expand Up @@ -316,6 +316,9 @@ fn bindgen_test_layout_JSMallocFunctions() {
)
);
}
pub type JSRuntimeFinalizer = ::std::option::Option<
unsafe extern "C" fn(rt: *mut JSRuntime, arg: *mut ::std::os::raw::c_void),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSGCObjectHeader {
Expand Down Expand Up @@ -360,6 +363,13 @@ extern "C" {
extern "C" {
pub fn JS_SetRuntimeOpaque(rt: *mut JSRuntime, opaque: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn JS_AddRuntimeFinalizer(
rt: *mut JSRuntime,
finalizer: JSRuntimeFinalizer,
arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
pub type JS_MarkFunc =
::std::option::Option<unsafe extern "C" fn(rt: *mut JSRuntime, gp: *mut JSGCObjectHeader)>;
extern "C" {
Expand Down
490 changes: 250 additions & 240 deletions sys/src/bindings/aarch64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

490 changes: 250 additions & 240 deletions sys/src/bindings/aarch64-unknown-linux-musl.rs

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sys/src/bindings/i686-unknown-linux-gnu.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* automatically generated by rust-bindgen 0.69.5 */

pub const JS_NAN_BOXING: u32 = 1;
pub const JS_PROP_CONFIGURABLE: u32 = 1;
pub const JS_PROP_WRITABLE: u32 = 2;
pub const JS_PROP_ENUMERABLE: u32 = 4;
Expand Down Expand Up @@ -2842,4 +2843,4 @@ pub const JS_ATOM_Symbol_species: _bindgen_ty_4 = 218;
pub const JS_ATOM_Symbol_unscopables: _bindgen_ty_4 = 219;
pub const JS_ATOM_Symbol_asyncIterator: _bindgen_ty_4 = 220;
pub const JS_ATOM_END: _bindgen_ty_4 = 221;
pub type _bindgen_ty_4 = ::std::os::raw::c_uint;
pub type _bindgen_ty_4 = ::std::os::raw::c_uint;
Loading

0 comments on commit 9e0229a

Please sign in to comment.