@@ -174,7 +174,7 @@ wrap!(jsapi: pub fn ReadableStreamReaderReleaseLock(cx: *mut JSContext, reader:
174
174
wrap!(jsapi: pub fn ReadableStreamDefaultReaderRead(cx: *mut JSContext, reader: HandleObject) -> *mut JSObject);
175
175
wrap!(jsapi: pub fn IsWasmModuleObject(obj: HandleObject) -> bool);
176
176
wrap!(jsapi: pub fn GetWasmModule(obj: HandleObject) -> RefPtr<WasmModule>);
177
- wrap!(jsapi: pub fn JS_EncodeStringToUTF8(cx: *mut JSContext, str : Handle<*mut JSString>) -> UniqueChars);
177
+ wrap!(jsapi: pub fn JS_EncodeStringToUTF8(cx: *mut JSContext, str_ : Handle<*mut JSString>) -> UniqueChars);
178
178
wrap!(jsapi: pub fn JS_ValueToObject(cx: *mut JSContext, v: HandleValue, objp: MutableHandleObject) -> bool);
179
179
wrap!(jsapi: pub fn JS_ValueToFunction(cx: *mut JSContext, v: HandleValue) -> *mut JSFunction);
180
180
wrap!(jsapi: pub fn JS_ValueToConstructor(cx: *mut JSContext, v: HandleValue) -> *mut JSFunction);
@@ -301,15 +301,15 @@ wrap!(jsapi: pub fn JS_DefineFunctionById(cx: *mut JSContext, obj: HandleObject,
301
301
wrap!(jsapi: pub fn JS_GetFunctionScript(cx: *mut JSContext, fun: HandleFunction) -> *mut JSScript);
302
302
wrap!(jsapi: pub fn JS_DecompileScript(cx: *mut JSContext, script: Handle<*mut JSScript>) -> *mut JSString);
303
303
wrap!(jsapi: pub fn JS_DecompileFunction(cx: *mut JSContext, fun: Handle<*mut JSFunction>) -> *mut JSString);
304
- wrap!(jsapi: pub fn JS_AtomizeAndPinJSString(cx: *mut JSContext, str : HandleString) -> *mut JSString);
305
- wrap!(jsapi: pub fn JS_NewDependentString(cx: *mut JSContext, str : HandleString, start: usize, length: usize) -> *mut JSString);
304
+ wrap!(jsapi: pub fn JS_AtomizeAndPinJSString(cx: *mut JSContext, str_ : HandleString) -> *mut JSString);
305
+ wrap!(jsapi: pub fn JS_NewDependentString(cx: *mut JSContext, str_ : HandleString, start: usize, length: usize) -> *mut JSString);
306
306
wrap!(jsapi: pub fn JS_ConcatStrings(cx: *mut JSContext, left: HandleString, right: HandleString) -> *mut JSString);
307
307
wrap!(jsapi: pub fn JS_GetPendingException(cx: *mut JSContext, vp: MutableHandleValue) -> bool);
308
308
wrap!(jsapi: pub fn JS_SetPendingException(cx: *mut JSContext, v: HandleValue, behavior: ExceptionStackBehavior));
309
309
wrap!(jsapi: pub fn JS_ErrorFromException(cx: *mut JSContext, obj: HandleObject) -> *mut JSErrorReport);
310
310
wrap!(jsapi: pub fn JS_IndexToId(cx: *mut JSContext, index: u32, arg1: MutableHandleId) -> bool);
311
311
wrap!(jsapi: pub fn JS_CharsToId(cx: *mut JSContext, chars: TwoByteChars, arg1: MutableHandleId) -> bool);
312
- wrap!(jsapi: pub fn JS_IsIdentifier(cx: *mut JSContext, str : HandleString, isIdentifier: *mut bool) -> bool);
312
+ wrap!(jsapi: pub fn JS_IsIdentifier(cx: *mut JSContext, str_ : HandleString, isIdentifier: *mut bool) -> bool);
313
313
wrap!(jsapi: pub fn JS_FindCompilationScope(cx: *mut JSContext, obj: HandleObject) -> *mut JSObject);
314
314
wrap!(jsapi: pub fn JS_NewObjectWithoutMetadata(cx: *mut JSContext, clasp: *const JSClass, proto: HandleObject) -> *mut JSObject);
315
315
wrap!(jsapi: pub fn JS_NondeterministicGetWeakMapKeys(cx: *mut JSContext, obj: HandleObject, ret: MutableHandleObject) -> bool);
@@ -326,14 +326,14 @@ wrap!(jsapi: pub fn JS_ExecuteScript2(cx: *mut JSContext, envChain: HandleObject
326
326
wrap!(jsapi: pub fn JS_ExecuteScript3(cx: *mut JSContext, envChain: HandleObjectVector, script: Handle<*mut JSScript>) -> bool);
327
327
wrap!(jsapi: pub fn JS_Stringify(cx: *mut JSContext, value: MutableHandle<Value>, replacer: HandleObject, space: Handle<Value>, callback: JSONWriteCallback, data: *mut ::std::os::raw::c_void) -> bool);
328
328
wrap!(jsapi: pub fn JS_ParseJSON(cx: *mut JSContext, chars: *const u16, len: u32, vp: MutableHandle<Value>) -> bool);
329
- wrap!(jsapi: pub fn JS_ParseJSON1(cx: *mut JSContext, str : Handle<*mut JSString>, vp: MutableHandle<Value>) -> bool);
329
+ wrap!(jsapi: pub fn JS_ParseJSON1(cx: *mut JSContext, str_ : Handle<*mut JSString>, vp: MutableHandle<Value>) -> bool);
330
330
wrap!(jsapi: pub fn JS_ParseJSONWithReviver(cx: *mut JSContext, chars: *const u16, len: u32, reviver: Handle<Value>, vp: MutableHandle<Value>) -> bool);
331
- wrap!(jsapi: pub fn JS_ParseJSONWithReviver1(cx: *mut JSContext, str : Handle<*mut JSString>, reviver: Handle<Value>, vp: MutableHandle<Value>) -> bool);
331
+ wrap!(jsapi: pub fn JS_ParseJSONWithReviver1(cx: *mut JSContext, str_ : Handle<*mut JSString>, reviver: Handle<Value>, vp: MutableHandle<Value>) -> bool);
332
332
wrap!(jsapi: pub fn JS_ReadStructuredClone(cx: *mut JSContext, data: *const JSStructuredCloneData, version: u32, scope: StructuredCloneScope, vp: MutableHandleValue, cloneDataPolicy: *const CloneDataPolicy, optionalCallbacks: *const JSStructuredCloneCallbacks, closure: *mut ::std::os::raw::c_void) -> bool);
333
333
wrap!(jsapi: pub fn JS_WriteStructuredClone(cx: *mut JSContext, v: HandleValue, data: *mut JSStructuredCloneData, scope: StructuredCloneScope, cloneDataPolicy: *const CloneDataPolicy, optionalCallbacks: *const JSStructuredCloneCallbacks, closure: *mut ::std::os::raw::c_void, transferable: HandleValue) -> bool);
334
334
wrap!(jsapi: pub fn JS_StructuredClone(cx: *mut JSContext, v: HandleValue, vp: MutableHandleValue, optionalCallbacks: *const JSStructuredCloneCallbacks, closure: *mut ::std::os::raw::c_void) -> bool);
335
335
wrap!(jsapi: pub fn JS_ReadTypedArray(r: *mut JSStructuredCloneReader, vp: MutableHandleValue) -> bool);
336
- wrap!(jsapi: pub fn JS_WriteString(w: *mut JSStructuredCloneWriter, str : HandleString) -> bool);
336
+ wrap!(jsapi: pub fn JS_WriteString(w: *mut JSStructuredCloneWriter, str_ : HandleString) -> bool);
337
337
wrap!(jsapi: pub fn JS_WriteTypedArray(w: *mut JSStructuredCloneWriter, v: HandleValue) -> bool);
338
338
wrap!(jsapi: pub fn JS_ObjectNotWritten(w: *mut JSStructuredCloneWriter, obj: HandleObject) -> bool);
339
339
wrap!(jsapi: pub fn JS_NewInt8ArrayFromArray(cx: *mut JSContext, array: HandleObject) -> *mut JSObject);
0 commit comments