diff options
Diffstat (limited to 'src/javascript/jsc/bindings/sizes.zig')
-rw-r--r-- | src/javascript/jsc/bindings/sizes.zig | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/src/javascript/jsc/bindings/sizes.zig b/src/javascript/jsc/bindings/sizes.zig index a48ac9f16..88cc96c12 100644 --- a/src/javascript/jsc/bindings/sizes.zig +++ b/src/javascript/jsc/bindings/sizes.zig @@ -1,4 +1,4 @@ -// Auto-generated by src/javascript/jsc/headergen/sizegen.cpp at 2021-07-21 02:02:1626858148. +// Auto-generated by src/javascript/jsc/headergen/sizegen.cpp at 2021-07-21 22:39:1626932365. // These are the byte sizes for the different object types with bindings in JavaScriptCore. // This allows us to safely return stack allocated C++ types to Zig. // It is only safe to do this when these sizes are correct. @@ -6,33 +6,62 @@ // 1. We can't dynamically link JavaScriptCore // 2. It's important that this is run whenever JavaScriptCore is updated or the bindings on the Zig side change. // Failure to do so will lead to undefined behavior and probably some frustrated people. -// --- To renegerate: --- +// --- Regenerate this: --- // 1. "make jsc-bindings-headers" // 2. "make sizegen" // 3. "make jsc-bindings-headers" +// ------------------------ // You can verify the numbers written in this file at runtime via the `extern`d types +// Run "jsc-bindings-headers" twice because it uses these values in the output. That's how all the bJSC__.* types are created - from these values. pub const JSC__JSObject = 16; -pub const JSC__PropertyNameArray = 48; +pub const JSC__JSObject_align = 8; +pub const JSC__JSMap = 56; +pub const JSC__JSMap_align = 8; pub const JSC__JSCell = 8; +pub const JSC__JSCell_align = 4; pub const JSC__JSString = 16; +pub const JSC__JSString_align = 8; pub const Wundle__DefaultGlobal = 2464; +pub const Wundle__DefaultGlobal_align = 8; pub const JSC__JSModuleLoader = 16; +pub const JSC__JSModuleLoader_align = 8; pub const JSC__JSModuleRecord = 344; +pub const JSC__JSModuleRecord_align = 8; pub const JSC__JSPromise = 32; +pub const JSC__JSPromise_align = 8; +pub const JSC__JSInternalPromise = 32; +pub const JSC__JSInternalPromise_align = 8; pub const JSC__SourceOrigin = 48; +pub const JSC__SourceOrigin_align = 8; pub const JSC__SourceCode = 24; +pub const JSC__SourceCode_align = 8; pub const JSC__JSFunction = 32; +pub const JSC__JSFunction_align = 8; pub const JSC__JSGlobalObject = 2464; +pub const JSC__JSGlobalObject_align = 8; pub const WTF__URL = 40; +pub const WTF__URL_align = 8; pub const WTF__String = 8; +pub const WTF__String_align = 8; pub const JSC__JSValue = 8; +pub const JSC__JSValue_align = 8; pub const JSC__PropertyName = 8; +pub const JSC__PropertyName_align = 8; pub const JSC__Exception = 40; +pub const JSC__Exception_align = 8; pub const JSC__VM = 49080; +pub const JSC__VM_align = 8; pub const JSC__ThrowScope = 8; +pub const JSC__ThrowScope_align = 8; pub const JSC__CatchScope = 8; +pub const JSC__CatchScope_align = 8; pub const JSC__CallFrame = 8; +pub const JSC__CallFrame_align = 8; pub const JSC__Identifier = 8; +pub const JSC__Identifier_align = 8; pub const WTF__StringImpl = 24; +pub const WTF__StringImpl_align = 8; pub const WTF__ExternalStringImpl = 32; +pub const WTF__ExternalStringImpl_align = 8; pub const WTF__StringView = 24; +pub const WTF__StringView_align = 8; |