diff options
Diffstat (limited to 'src/bun.js')
-rw-r--r-- | src/bun.js/bindings/bindings.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bun.js/bindings/bindings.cpp b/src/bun.js/bindings/bindings.cpp index 33cdff39d..fc6dda52c 100644 --- a/src/bun.js/bindings/bindings.cpp +++ b/src/bun.js/bindings/bindings.cpp @@ -977,6 +977,7 @@ bool JSC__JSValue__asArrayBuffer_(JSC__JSValue JSValue0, JSC__JSGlobalObject* ar arg2->offset = 0; arg2->cell_type = JSC::JSType::ArrayBufferType; arg2->ptr = (char*)typedArray->data(); + arg2->shared = typedArray->isShared(); return true; } case JSC::JSType::Int8ArrayType: { @@ -1697,10 +1698,10 @@ JSC__JSObject* JSC__JSGlobalObject__symbolPrototype(JSC__JSGlobalObject* arg0) }; JSC__VM* JSC__JSGlobalObject__vm(JSC__JSGlobalObject* arg0) { return &arg0->vm(); }; - // JSC__JSObject* JSC__JSGlobalObject__createError(JSC__JSGlobalObject* arg0, - // unsigned char ErrorType1, WTF__String* arg2) {}; JSC__JSObject* - // JSC__JSGlobalObject__throwError(JSC__JSGlobalObject* arg0, JSC__JSObject* - // arg1) {}; +// JSC__JSObject* JSC__JSGlobalObject__createError(JSC__JSGlobalObject* arg0, +// unsigned char ErrorType1, WTF__String* arg2) {}; JSC__JSObject* +// JSC__JSGlobalObject__throwError(JSC__JSGlobalObject* arg0, JSC__JSObject* +// arg1) {}; void JSC__JSGlobalObject__handleRejectedPromises(JSC__JSGlobalObject* arg0) { |