diff options
author | 2022-09-26 20:35:26 -0700 | |
---|---|---|
committer | 2022-09-26 20:35:26 -0700 | |
commit | 5875d1419b49b97a78dfeeb9d6f1bd9f00d2eaeb (patch) | |
tree | 46fd8978a7508e7d2f03bc24a8c1119544b7d80c /src/bun.js/bindings/ZigGeneratedClasses.h | |
parent | 24a9bc23b7e1c7911cb2e146be199d940b9729e6 (diff) | |
download | bun-5875d1419b49b97a78dfeeb9d6f1bd9f00d2eaeb.tar.gz bun-5875d1419b49b97a78dfeeb9d6f1bd9f00d2eaeb.tar.zst bun-5875d1419b49b97a78dfeeb9d6f1bd9f00d2eaeb.zip |
Make `Bun.spawn`, FileSink and FileBlobLoader a little more reliable
Diffstat (limited to 'src/bun.js/bindings/ZigGeneratedClasses.h')
-rw-r--r-- | src/bun.js/bindings/ZigGeneratedClasses.h | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/src/bun.js/bindings/ZigGeneratedClasses.h b/src/bun.js/bindings/ZigGeneratedClasses.h index ad85dd3f9..22ffe60d7 100644 --- a/src/bun.js/bindings/ZigGeneratedClasses.h +++ b/src/bun.js/bindings/ZigGeneratedClasses.h @@ -5,6 +5,8 @@ #include "root.h" +#include "JSEventEmitter.h" + namespace Zig { } @@ -15,9 +17,9 @@ namespace WebCore { using namespace Zig; using namespace JSC; -class JSSubprocess final : public JSC::JSDestructibleObject { +class JSSubprocess final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSSubprocess* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -66,8 +68,7 @@ class JSSubprocess final : public JSC::JSDestructibleObject { DECLARE_VISIT_CHILDREN; - mutable JSC::WriteBarrier<JSC::Unknown> m_exitStatus; -mutable JSC::WriteBarrier<JSC::Unknown> m_stderr; + mutable JSC::WriteBarrier<JSC::Unknown> m_stderr; mutable JSC::WriteBarrier<JSC::Unknown> m_stdin; mutable JSC::WriteBarrier<JSC::Unknown> m_stdout; }; @@ -142,9 +143,9 @@ class JSSubprocessPrototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSSubprocessPrototype* prototype); }; -class JSSHA1 final : public JSC::JSDestructibleObject { +class JSSHA1 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSSHA1* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -266,9 +267,9 @@ class JSSHA1Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSSHA1Prototype* prototype); }; -class JSMD5 final : public JSC::JSDestructibleObject { +class JSMD5 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSMD5* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -390,9 +391,9 @@ class JSMD5Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSMD5Prototype* prototype); }; -class JSMD4 final : public JSC::JSDestructibleObject { +class JSMD4 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSMD4* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -514,9 +515,9 @@ class JSMD4Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSMD4Prototype* prototype); }; -class JSSHA224 final : public JSC::JSDestructibleObject { +class JSSHA224 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSSHA224* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -638,9 +639,9 @@ class JSSHA224Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSSHA224Prototype* prototype); }; -class JSSHA512 final : public JSC::JSDestructibleObject { +class JSSHA512 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSSHA512* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -762,9 +763,9 @@ class JSSHA512Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSSHA512Prototype* prototype); }; -class JSSHA384 final : public JSC::JSDestructibleObject { +class JSSHA384 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSSHA384* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -886,9 +887,9 @@ class JSSHA384Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSSHA384Prototype* prototype); }; -class JSSHA256 final : public JSC::JSDestructibleObject { +class JSSHA256 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSSHA256* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -1010,9 +1011,9 @@ class JSSHA256Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSSHA256Prototype* prototype); }; -class JSSHA512_256 final : public JSC::JSDestructibleObject { +class JSSHA512_256 final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSSHA512_256* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -1134,9 +1135,9 @@ class JSSHA512_256Prototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSSHA512_256Prototype* prototype); }; -class JSTextDecoder final : public JSC::JSDestructibleObject { +class JSTextDecoder final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSTextDecoder* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -1258,9 +1259,9 @@ class JSTextDecoderPrototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSTextDecoderPrototype* prototype); }; -class JSRequest final : public JSC::JSDestructibleObject { +class JSRequest final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSRequest* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -1384,9 +1385,9 @@ class JSRequestPrototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSRequestPrototype* prototype); }; -class JSResponse final : public JSC::JSDestructibleObject { +class JSResponse final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSResponse* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; @@ -1511,9 +1512,9 @@ class JSResponsePrototype final : public JSC::JSNonFinalObject { void finishCreation(JSC::VM&, JSC::JSGlobalObject* globalObject, JSResponsePrototype* prototype); }; -class JSBlob final : public JSC::JSDestructibleObject { +class JSBlob final : public JSDestructibleObject { public: - using Base = JSC::JSDestructibleObject; + using Base = JSDestructibleObject; static JSBlob* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure, void* ctx); DECLARE_EXPORT_INFO; |