diff options
author | 2022-06-15 07:17:42 -0700 | |
---|---|---|
committer | 2022-06-15 07:17:42 -0700 | |
commit | 56e88fb4dd06e07569ddc3861e2e8e21f71e45b8 (patch) | |
tree | a355df05ffd4665916c3eefb8370e154d1128f72 /src/javascript/jsc/bindings/ZigGlobalObject.h | |
parent | d93f09331394148441d142930fea236a9fd73c5c (diff) | |
download | bun-jarred/direct.tar.gz bun-jarred/direct.tar.zst bun-jarred/direct.zip |
direct streams mostly workjarred/direct
Diffstat (limited to '')
-rw-r--r-- | src/javascript/jsc/bindings/ZigGlobalObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/javascript/jsc/bindings/ZigGlobalObject.h b/src/javascript/jsc/bindings/ZigGlobalObject.h index 34c9ef412..95fba762d 100644 --- a/src/javascript/jsc/bindings/ZigGlobalObject.h +++ b/src/javascript/jsc/bindings/ZigGlobalObject.h @@ -151,6 +151,7 @@ public: JSC::Structure* ArrayBufferSinkStructure() { return m_JSArrayBufferSinkClassStructure.getInitializedOnMainThread(this); } JSC::JSObject* ArrayBufferSink() { return m_JSArrayBufferSinkClassStructure.constructorInitializedOnMainThread(this); } JSC::JSValue ArrayBufferSinkPrototype() { return m_JSArrayBufferSinkClassStructure.prototypeInitializedOnMainThread(this); } + JSC::JSValue JSReadableArrayBufferSinkControllerPrototype() { return m_JSArrayBufferControllerPrototype.getInitializedOnMainThread(this); } void* bunVM() { return m_bunVM; } bool isThreadLocalDefaultGlobalObject = false; @@ -175,6 +176,7 @@ private: LazyClassStructure m_JSFFIFunctionStructure; LazyClassStructure m_NapiClassStructure; LazyClassStructure m_JSArrayBufferSinkClassStructure; + LazyProperty<JSGlobalObject, JSObject> m_JSArrayBufferControllerPrototype; DOMGuardedObjectSet m_guardedObjects WTF_GUARDED_BY_LOCK(m_gcLock); void* m_bunVM; |