aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/headers.h
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-09 21:47:18 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-09 21:47:18 -0700
commit1e8b9258b2ac77f6db1b42ce82928fed86ffc77d (patch)
treeb51e89e810de5877817ede5ec7075e4ec7957259 /src/bun.js/bindings/headers.h
parentc7c5dc14384f81a2d245870d2848c0512193690d (diff)
downloadbun-1e8b9258b2ac77f6db1b42ce82928fed86ffc77d.tar.gz
bun-1e8b9258b2ac77f6db1b42ce82928fed86ffc77d.tar.zst
bun-1e8b9258b2ac77f6db1b42ce82928fed86ffc77d.zip
Expose bindings for `Map`
Diffstat (limited to 'src/bun.js/bindings/headers.h')
-rw-r--r--src/bun.js/bindings/headers.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/bun.js/bindings/headers.h b/src/bun.js/bindings/headers.h
index b547edc44..c8c374b7f 100644
--- a/src/bun.js/bindings/headers.h
+++ b/src/bun.js/bindings/headers.h
@@ -1,5 +1,5 @@
// clang-format off
-//-- AUTOGENERATED FILE -- 1681462444
+//-- AUTOGENERATED FILE -- 1683691290
#pragma once
#include <stddef.h>
@@ -55,6 +55,7 @@ typedef void* JSClassRef;
typedef bJSC__JSObject JSC__JSObject; // JSC::JSObject
typedef WebSocketClient WebSocketClient;
typedef struct WebCore__AbortSignal WebCore__AbortSignal; // WebCore::AbortSignal
+ typedef struct JSC__JSMap JSC__JSMap; // JSC::JSMap
typedef WebSocketHTTPSClient WebSocketHTTPSClient;
typedef JSClassRef JSClassRef;
typedef bJSC__VM JSC__VM; // JSC::VM
@@ -81,6 +82,7 @@ typedef void* JSClassRef;
#ifdef __cplusplus
namespace JSC {
+ class JSMap;
class JSCell;
class JSObject;
class JSGlobalObject;
@@ -113,6 +115,7 @@ typedef void* JSClassRef;
typedef SystemError SystemError;
typedef ZigString ZigString;
typedef int64_t JSC__JSValue;
+ using JSC__JSMap = JSC::JSMap;
using JSC__JSCell = JSC::JSCell;
using JSC__JSObject = JSC::JSObject;
using JSC__JSGlobalObject = JSC::JSGlobalObject;
@@ -276,6 +279,14 @@ CPP_DECL void JSC__JSGlobalObject__reload(JSC__JSGlobalObject* arg0);
CPP_DECL bool JSC__JSGlobalObject__startRemoteInspector(JSC__JSGlobalObject* arg0, unsigned char* arg1, uint16_t arg2);
CPP_DECL JSC__VM* JSC__JSGlobalObject__vm(JSC__JSGlobalObject* arg0);
+#pragma mark - JSC::JSMap
+
+CPP_DECL JSC__JSValue JSC__JSMap__create(JSC__JSGlobalObject* arg0);
+CPP_DECL JSC__JSValue JSC__JSMap__get_(JSC__JSMap* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2);
+CPP_DECL bool JSC__JSMap__has(JSC__JSMap* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2);
+CPP_DECL bool JSC__JSMap__remove(JSC__JSMap* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2);
+CPP_DECL void JSC__JSMap__set(JSC__JSMap* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2, JSC__JSValue JSValue3);
+
#pragma mark - JSC::JSValue
CPP_DECL void JSC__JSValue___then(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2, JSC__JSValue(* ArgFn3)(JSC__JSGlobalObject* arg0, JSC__CallFrame* arg1), JSC__JSValue(* ArgFn4)(JSC__JSGlobalObject* arg0, JSC__CallFrame* arg1)) __attribute__((nonnull (3, 4)));