diff options
author | 2022-11-30 05:49:01 -0800 | |
---|---|---|
committer | 2022-11-30 05:49:01 -0800 | |
commit | 6213a91f058cc461fb916d479f03f602c552c377 (patch) | |
tree | 5442b8e30a1eebfda378586913dd56a27bd3ba88 /src/bun.js/bindings/headers.h | |
parent | f999bdca26256b7ad42d93268c34362b251330c2 (diff) | |
download | bun-6213a91f058cc461fb916d479f03f602c552c377.tar.gz bun-6213a91f058cc461fb916d479f03f602c552c377.tar.zst bun-6213a91f058cc461fb916d479f03f602c552c377.zip |
[wip internal] Introduce `bun.String` which wraps `WTF::String` and allows us to reuse themjarred/make-strings-better
Diffstat (limited to 'src/bun.js/bindings/headers.h')
-rw-r--r-- | src/bun.js/bindings/headers.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bun.js/bindings/headers.h b/src/bun.js/bindings/headers.h index 399fc54a6..1962658cb 100644 --- a/src/bun.js/bindings/headers.h +++ b/src/bun.js/bindings/headers.h @@ -1,5 +1,5 @@ // clang-format off -//-- AUTOGENERATED FILE -- 1669793662 +//-- AUTOGENERATED FILE -- 1669812013 #pragma once #include <stddef.h> @@ -50,6 +50,7 @@ typedef void* JSClassRef; #ifndef __cplusplus typedef bJSC__CatchScope JSC__CatchScope; // JSC::CatchScope typedef ErrorableResolvedSource ErrorableResolvedSource; + typedef BunString BunString; typedef bJSC__ThrowScope JSC__ThrowScope; // JSC::ThrowScope typedef ErrorableZigString ErrorableZigString; typedef bJSC__JSObject JSC__JSObject; // JSC::JSObject @@ -97,6 +98,7 @@ typedef void* JSClassRef; } typedef ErrorableResolvedSource ErrorableResolvedSource; + typedef BunString BunString; typedef ErrorableZigString ErrorableZigString; typedef WebSocketClient WebSocketClient; typedef WebSocketHTTPSClient WebSocketHTTPSClient; @@ -500,12 +502,12 @@ CPP_DECL bool Zig__GlobalObject__resetModuleRegistryMap(JSC__JSGlobalObject* arg #ifdef __cplusplus -ZIG_DECL void Zig__GlobalObject__fetch(ErrorableResolvedSource* arg0, JSC__JSGlobalObject* arg1, ZigString* arg2, ZigString* arg3); +ZIG_DECL void Zig__GlobalObject__fetch(ErrorableResolvedSource* arg0, JSC__JSGlobalObject* arg1, BunString* arg2, BunString* arg3); ZIG_DECL ErrorableZigString Zig__GlobalObject__import(JSC__JSGlobalObject* arg0, ZigString* arg1, ZigString* arg2); ZIG_DECL void Zig__GlobalObject__onCrash(); ZIG_DECL JSC__JSValue Zig__GlobalObject__promiseRejectionTracker(JSC__JSGlobalObject* arg0, JSC__JSPromise* arg1, uint32_t JSPromiseRejectionOperation2); ZIG_DECL JSC__JSValue Zig__GlobalObject__reportUncaughtException(JSC__JSGlobalObject* arg0, JSC__Exception* arg1); -ZIG_DECL void Zig__GlobalObject__resolve(ErrorableZigString* arg0, JSC__JSGlobalObject* arg1, ZigString* arg2, ZigString* arg3); +ZIG_DECL void Zig__GlobalObject__resolve(ErrorableZigString* arg0, JSC__JSGlobalObject* arg1, BunString* arg2, BunString* arg3); #endif |