aboutsummaryrefslogtreecommitdiff
path: root/src/javascript/jsc/bindings/headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/javascript/jsc/bindings/headers.h')
-rw-r--r--src/javascript/jsc/bindings/headers.h101
1 files changed, 47 insertions, 54 deletions
diff --git a/src/javascript/jsc/bindings/headers.h b/src/javascript/jsc/bindings/headers.h
index 282a63333..b5a96ec37 100644
--- a/src/javascript/jsc/bindings/headers.h
+++ b/src/javascript/jsc/bindings/headers.h
@@ -1,4 +1,4 @@
-//-- AUTOGENERATED FILE -- 1626933952
+//-- AUTOGENERATED FILE -- 1627163531
#pragma once
#include <stddef.h>
@@ -38,9 +38,9 @@
typedef struct Wundle__DefaultGlobal Wundle__DefaultGlobal; // Wundle::DefaultGlobal
typedef struct JSC__JSFunction JSC__JSFunction; // JSC::JSFunction
typedef struct JSC__ArrayPrototype JSC__ArrayPrototype; // JSC::ArrayPrototype
- typedef struct JSC__AsyncFunctionPrototype JSC__AsyncFunctionPrototype; // JSC::AsyncFunctionPrototype
- typedef struct JSC__JSPromise JSC__JSPromise; // JSC::JSPromise
typedef struct JSC__Identifier JSC__Identifier; // JSC::Identifier
+ typedef struct JSC__JSPromise JSC__JSPromise; // JSC::JSPromise
+ typedef struct JSC__AsyncFunctionPrototype JSC__AsyncFunctionPrototype; // JSC::AsyncFunctionPrototype
typedef struct JSC__SetIteratorPrototype JSC__SetIteratorPrototype; // JSC::SetIteratorPrototype
typedef struct JSC__SourceCode JSC__SourceCode; // JSC::SourceCode
typedef struct JSC__JSCell JSC__JSCell; // JSC::JSCell
@@ -54,8 +54,10 @@
typedef struct JSC__IteratorPrototype JSC__IteratorPrototype; // JSC::IteratorPrototype
typedef struct JSC__JSInternalPromise JSC__JSInternalPromise; // JSC::JSInternalPromise
typedef struct JSC__FunctionPrototype JSC__FunctionPrototype; // JSC::FunctionPrototype
+ typedef struct Inspector__ScriptArguments Inspector__ScriptArguments; // Inspector::ScriptArguments
typedef struct JSC__Exception JSC__Exception; // JSC::Exception
typedef struct JSC__JSString JSC__JSString; // JSC::JSString
+ typedef struct Zig__ConsoleClient Zig__ConsoleClient; // Zig::ConsoleClient
typedef struct JSC__ObjectPrototype JSC__ObjectPrototype; // JSC::ObjectPrototype
typedef struct JSC__CallFrame JSC__CallFrame; // JSC::CallFrame
typedef struct JSC__MapIteratorPrototype JSC__MapIteratorPrototype; // JSC::MapIteratorPrototype
@@ -82,6 +84,7 @@
typedef struct bJSC__JSGlobalObject { char bytes[2464]; } bJSC__JSGlobalObject;
typedef struct bJSC__JSCell { char bytes[8]; } bJSC__JSCell;
typedef struct bJSC__JSLock { char bytes[40]; } bJSC__JSLock;
+ typedef struct bInspector__ScriptArguments { char bytes[32]; } bInspector__ScriptArguments;
typedef struct bWundle__DefaultGlobal { char bytes[2464]; } bWundle__DefaultGlobal;
typedef struct bJSC__JSInternalPromise { char bytes[32]; } bJSC__JSInternalPromise;
typedef struct bJSC__JSObject { char bytes[16]; } bJSC__JSObject;
@@ -99,8 +102,8 @@
class JSObject;
class AsyncIteratorPrototype;
class AsyncGeneratorFunctionPrototype;
- class JSPromise;
class Identifier;
+ class JSPromise;
class RegExpPrototype;
class AsyncFunctionPrototype;
class CatchScope;
@@ -136,6 +139,12 @@
namespace Wundle {
class DefaultGlobal;
}
+ namespace Inspector {
+ class ScriptArguments;
+ }
+ namespace Zig {
+ class ConsoleClient;
+ }
typedef int64_t JSC__JSValue;
using JSC__JSCell = JSC::JSCell;
@@ -148,8 +157,8 @@
using JSC__JSObject = JSC::JSObject;
using JSC__AsyncIteratorPrototype = JSC::AsyncIteratorPrototype;
using JSC__AsyncGeneratorFunctionPrototype = JSC::AsyncGeneratorFunctionPrototype;
- using JSC__JSPromise = JSC::JSPromise;
using JSC__Identifier = JSC::Identifier;
+ using JSC__JSPromise = JSC::JSPromise;
using JSC__RegExpPrototype = JSC::RegExpPrototype;
using JSC__AsyncFunctionPrototype = JSC::AsyncFunctionPrototype;
using JSC__CatchScope = JSC::CatchScope;
@@ -180,6 +189,8 @@
using WTF__StringView = WTF::StringView;
using WTF__ExternalStringImpl = WTF::ExternalStringImpl;
using Wundle__DefaultGlobal = Wundle::DefaultGlobal;
+ using Inspector__ScriptArguments = Inspector::ScriptArguments;
+ using Zig__ConsoleClient = Zig::ConsoleClient;
#endif
@@ -206,13 +217,40 @@ CPP_DECL size_t JSC__JSString__length(const JSC__JSString* arg0);
CPP_DECL JSC__JSObject* JSC__JSString__toObject(JSC__JSString* arg0, JSC__JSGlobalObject* arg1);
CPP_DECL bWTF__String JSC__JSString__value(JSC__JSString* arg0, JSC__JSGlobalObject* arg1);
+#pragma mark - Inspector::ScriptArguments
+
+CPP_DECL JSC__JSValue Inspector__ScriptArguments__argumentAt(const Inspector__ScriptArguments* arg0, size_t arg1);
+CPP_DECL size_t Inspector__ScriptArguments__argumentCount(const Inspector__ScriptArguments* arg0);
+CPP_DECL bWTF__String Inspector__ScriptArguments__getFirstArgumentAsString(const Inspector__ScriptArguments* arg0);
+CPP_DECL bool Inspector__ScriptArguments__isEqual(const Inspector__ScriptArguments* arg0, const Inspector__ScriptArguments* arg1);
+CPP_DECL void Inspector__ScriptArguments__release(Inspector__ScriptArguments* arg0);
+
#pragma mark - Zig::GlobalObject
+CPP_DECL JSC__JSGlobalObject* Zig__GlobalObject__create(JSC__VM* arg0, Zig__ConsoleClient* arg1);
+ZIG_DECL JSC__JSValue Zig__GlobalObject__createImportMetaProperties(JSC__JSGlobalObject* arg0, JSC__JSModuleLoader* arg1, JSC__JSValue JSValue2, JSC__JSModuleRecord* arg3, JSC__JSValue JSValue4);
ZIG_DECL JSC__JSValue Zig__GlobalObject__eval(JSC__JSGlobalObject* arg0, JSC__JSModuleLoader* arg1, JSC__JSValue JSValue2, JSC__JSValue JSValue3, JSC__JSValue JSValue4, JSC__JSValue JSValue5, JSC__JSValue JSValue6);
ZIG_DECL JSC__JSInternalPromise* Zig__GlobalObject__fetch(JSC__JSGlobalObject* arg0, JSC__JSModuleLoader* arg1, JSC__JSValue JSValue2, JSC__JSValue JSValue3, JSC__JSValue JSValue4);
ZIG_DECL JSC__JSInternalPromise* Zig__GlobalObject__import(JSC__JSGlobalObject* arg0, JSC__JSModuleLoader* arg1, JSC__JSString* arg2, JSC__JSValue JSValue3, const JSC__SourceOrigin* arg4);
-ZIG_DECL JSC__JSValue Zig__GlobalObject__reportUncaughtException(JSC__JSGlobalObject* arg0, JSC__JSPromise* arg1, uint32_t JSPromiseRejectionOperation2);
-ZIG_DECL const JSC__Identifier* Zig__GlobalObject__resolve(JSC__JSGlobalObject* arg0, JSC__JSModuleLoader* arg1, JSC__JSString* arg2, JSC__JSValue JSValue3, const JSC__SourceOrigin* arg4);
+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 bJSC__Identifier Zig__GlobalObject__resolve(JSC__JSGlobalObject* arg0, JSC__JSModuleLoader* arg1, JSC__JSValue JSValue2, JSC__JSValue JSValue3, const JSC__SourceOrigin* arg4);
+
+#pragma mark - Zig::ConsoleClient
+
+ZIG_DECL void Zig__ConsoleClient__count(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2);
+ZIG_DECL void Zig__ConsoleClient__countReset(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2);
+ZIG_DECL void Zig__ConsoleClient__messageWithTypeAndLevel(uint32_t arg0, uint32_t arg1, JSC__JSGlobalObject* arg2, Inspector__ScriptArguments* arg3);
+ZIG_DECL void Zig__ConsoleClient__profile(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2);
+ZIG_DECL void Zig__ConsoleClient__profileEnd(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2);
+ZIG_DECL void Zig__ConsoleClient__record(JSC__JSGlobalObject* arg0, Inspector__ScriptArguments* arg1);
+ZIG_DECL void Zig__ConsoleClient__recordEnd(JSC__JSGlobalObject* arg0, Inspector__ScriptArguments* arg1);
+ZIG_DECL void Zig__ConsoleClient__screenshot(JSC__JSGlobalObject* arg0, Inspector__ScriptArguments* arg1);
+ZIG_DECL void Zig__ConsoleClient__takeHeapSnapshot(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2);
+ZIG_DECL void Zig__ConsoleClient__time(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2);
+ZIG_DECL void Zig__ConsoleClient__timeEnd(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2);
+ZIG_DECL void Zig__ConsoleClient__timeLog(JSC__JSGlobalObject* arg0, const char* arg1, size_t arg2, Inspector__ScriptArguments* arg3);
+ZIG_DECL void Zig__ConsoleClient__timeStamp(JSC__JSGlobalObject* arg0, Inspector__ScriptArguments* arg1);
#pragma mark - Wundle::DefaultGlobal
@@ -365,53 +403,6 @@ CPP_DECL bool WTF__String__isExternal(WTF__String* arg0);
CPP_DECL bool WTF__String__isStatic(WTF__String* arg0);
CPP_DECL size_t WTF__String__length(WTF__String* arg0);
-#pragma mark - JSC::JSValue
-
-CPP_DECL JSC__JSCell* JSC__JSValue__asCell(JSC__JSValue JSValue0);
-CPP_DECL double JSC__JSValue__asNumber(JSC__JSValue JSValue0);
-CPP_DECL bJSC__JSObject JSC__JSValue__asObject(JSC__JSValue JSValue0);
-CPP_DECL JSC__JSString* JSC__JSValue__asString(JSC__JSValue JSValue0);
-CPP_DECL uint64_t JSC__JSValue__encode(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__eqlCell(JSC__JSValue JSValue0, JSC__JSCell* arg1);
-CPP_DECL bool JSC__JSValue__eqlValue(JSC__JSValue JSValue0, JSC__JSValue JSValue1);
-CPP_DECL JSC__JSValue JSC__JSValue__getPrototype(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1);
-CPP_DECL bool JSC__JSValue__isAnyInt(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isBigInt(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isBigInt32(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isBoolean(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isCell(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isCustomGetterSetter(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isError(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isGetterSetter(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isHeapBigInt(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isInt32AsAnyInt(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isNull(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isNumber(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isObject(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isPrimitive(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isString(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isSymbol(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isUInt32AsAnyInt(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isUndefined(JSC__JSValue JSValue0);
-CPP_DECL bool JSC__JSValue__isUndefinedOrNull(JSC__JSValue JSValue0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsBoolean(bool arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsDoubleNumber(double arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsNull();
-CPP_DECL JSC__JSValue JSC__JSValue__jsNumberFromChar(char arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsNumberFromDouble(double arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsNumberFromInt32(int32_t arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsNumberFromInt64(int64_t arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsNumberFromU16(uint16_t arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsNumberFromUint64(uint64_t arg0);
-CPP_DECL JSC__JSValue JSC__JSValue__jsTDZValue();
-CPP_DECL JSC__JSValue JSC__JSValue__jsUndefined();
-CPP_DECL JSC__JSObject* JSC__JSValue__toObject(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1);
-CPP_DECL bJSC__Identifier JSC__JSValue__toPropertyKey(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1);
-CPP_DECL JSC__JSValue JSC__JSValue__toPropertyKeyValue(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1);
-CPP_DECL JSC__JSString* JSC__JSValue__toString(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1);
-CPP_DECL JSC__JSString* JSC__JSValue__toString(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1);
-CPP_DECL JSC__JSString* JSC__JSValue__toStringOrNull(JSC__JSValue JSValue0, JSC__JSGlobalObject* arg1);
-
#pragma mark - JSC::PropertyName
CPP_DECL bool JSC__PropertyName__eqlToIdentifier(JSC__PropertyName* arg0, const JSC__Identifier* arg1);
@@ -453,6 +444,8 @@ CPP_DECL JSC__JSValue JSC__CallFrame__argument(const JSC__CallFrame* arg0, uint1
CPP_DECL size_t JSC__CallFrame__argumentsCount(const JSC__CallFrame* arg0);
CPP_DECL JSC__JSObject* JSC__CallFrame__jsCallee(const JSC__CallFrame* arg0);
CPP_DECL JSC__JSValue JSC__CallFrame__newTarget(const JSC__CallFrame* arg0);
+CPP_DECL JSC__JSValue JSC__CallFrame__setNewTarget(JSC__CallFrame* arg0, JSC__JSValue JSValue1);
+CPP_DECL JSC__JSValue JSC__CallFrame__setThisValue(JSC__CallFrame* arg0, JSC__JSValue JSValue1);
CPP_DECL JSC__JSValue JSC__CallFrame__thisValue(const JSC__CallFrame* arg0);
CPP_DECL JSC__JSValue JSC__CallFrame__uncheckedArgument(const JSC__CallFrame* arg0, uint16_t arg1);