diff options
| author | 2022-08-10 21:26:32 -0700 | |
|---|---|---|
| committer | 2022-08-10 21:26:32 -0700 | |
| commit | 551cb26afbec6187c2455aa3e339c180c4eacf20 (patch) | |
| tree | 5bb6d4ae9d7dbfb1403dd32338787be970164a3a /src | |
| parent | d9ae284463c25f6c1e6056c2ee4d5bf81f1d11cb (diff) | |
| download | bun-551cb26afbec6187c2455aa3e339c180c4eacf20.tar.gz bun-551cb26afbec6187c2455aa3e339c180c4eacf20.tar.zst bun-551cb26afbec6187c2455aa3e339c180c4eacf20.zip | |
Add shared property
Diffstat (limited to 'src')
| -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)  { | 
