1- /* automatically generated by rust-bindgen 0.72.1 */
2-
1+ /* automatically generated by rust-bindgen 0.72.1 */
2+
33pub const JS_PROP_CONFIGURABLE : u32 = 1 ;
44pub const JS_PROP_WRITABLE : u32 = 2 ;
55pub const JS_PROP_ENUMERABLE : u32 = 4 ;
@@ -1350,7 +1350,7 @@ pub const JSTypedArrayEnum_JS_TYPED_ARRAY_BIG_UINT64: JSTypedArrayEnum = 8;
13501350pub const JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT16 : JSTypedArrayEnum = 9 ;
13511351pub const JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT32 : JSTypedArrayEnum = 10 ;
13521352pub const JSTypedArrayEnum_JS_TYPED_ARRAY_FLOAT64 : JSTypedArrayEnum = 11 ;
1353- pub type JSTypedArrayEnum = :: core:: ffi:: c_uint ;
1353+ pub type JSTypedArrayEnum = :: core:: ffi:: c_int ;
13541354unsafe extern "C" {
13551355 pub fn JS_NewTypedArray (
13561356 ctx : * mut JSContext ,
@@ -1425,7 +1425,7 @@ unsafe extern "C" {
14251425pub const JSPromiseStateEnum_JS_PROMISE_PENDING : JSPromiseStateEnum = 0 ;
14261426pub const JSPromiseStateEnum_JS_PROMISE_FULFILLED : JSPromiseStateEnum = 1 ;
14271427pub const JSPromiseStateEnum_JS_PROMISE_REJECTED : JSPromiseStateEnum = 2 ;
1428- pub type JSPromiseStateEnum = :: core:: ffi:: c_uint ;
1428+ pub type JSPromiseStateEnum = :: core:: ffi:: c_int ;
14291429unsafe extern "C" {
14301430 pub fn JS_NewPromiseCapability ( ctx : * mut JSContext , resolving_funcs : * mut JSValue ) -> JSValue ;
14311431}
@@ -1449,7 +1449,7 @@ pub const JSPromiseHookType_JS_PROMISE_HOOK_INIT: JSPromiseHookType = 0;
14491449pub const JSPromiseHookType_JS_PROMISE_HOOK_BEFORE : JSPromiseHookType = 1 ;
14501450pub const JSPromiseHookType_JS_PROMISE_HOOK_AFTER : JSPromiseHookType = 2 ;
14511451pub const JSPromiseHookType_JS_PROMISE_HOOK_RESOLVE : JSPromiseHookType = 3 ;
1452- pub type JSPromiseHookType = :: core:: ffi:: c_uint ;
1452+ pub type JSPromiseHookType = :: core:: ffi:: c_int ;
14531453pub type JSPromiseHook = :: core:: option:: Option <
14541454 unsafe extern "C" fn (
14551455 ctx : * mut JSContext ,
@@ -1641,7 +1641,7 @@ pub const JSCFunctionEnum_JS_CFUNC_setter: JSCFunctionEnum = 9;
16411641pub const JSCFunctionEnum_JS_CFUNC_getter_magic : JSCFunctionEnum = 10 ;
16421642pub const JSCFunctionEnum_JS_CFUNC_setter_magic : JSCFunctionEnum = 11 ;
16431643pub const JSCFunctionEnum_JS_CFUNC_iterator_next : JSCFunctionEnum = 12 ;
1644- pub type JSCFunctionEnum = :: core:: ffi:: c_uint ;
1644+ pub type JSCFunctionEnum = :: core:: ffi:: c_int ;
16451645#[ repr( C ) ]
16461646#[ derive( Copy , Clone ) ]
16471647pub union JSCFunctionType {
@@ -2194,4 +2194,4 @@ pub const JS_ATOM_Symbol_species: _bindgen_ty_2 = 224;
21942194pub const JS_ATOM_Symbol_unscopables : _bindgen_ty_2 = 225 ;
21952195pub const JS_ATOM_Symbol_asyncIterator : _bindgen_ty_2 = 226 ;
21962196pub const JS_ATOM_END : _bindgen_ty_2 = 227 ;
2197- pub type _bindgen_ty_2 = :: core:: ffi:: c_uint ;
2197+ pub type _bindgen_ty_2 = :: core:: ffi:: c_int ;
0 commit comments