diff options
author | 2022-02-18 02:33:49 -0800 | |
---|---|---|
committer | 2022-02-18 02:33:49 -0800 | |
commit | 17ab2c18ebcbf5051f41269a7d6eaff1c2af9d5a (patch) | |
tree | 88847d1ba58f0f1fa26410d0be2aaead04ab904d /src/javascript/jsc/bindings/headers-cpp.h | |
parent | 3db341392983c8038c011f20b566afa557b16c3c (diff) | |
download | bun-17ab2c18ebcbf5051f41269a7d6eaff1c2af9d5a.tar.gz bun-17ab2c18ebcbf5051f41269a7d6eaff1c2af9d5a.tar.zst bun-17ab2c18ebcbf5051f41269a7d6eaff1c2af9d5a.zip |
[Bun.js] Add a stub for `setTimeout`, `setInterval`, `clearTImeout`, `clearInterval`
Diffstat (limited to 'src/javascript/jsc/bindings/headers-cpp.h')
-rw-r--r-- | src/javascript/jsc/bindings/headers-cpp.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/javascript/jsc/bindings/headers-cpp.h b/src/javascript/jsc/bindings/headers-cpp.h index 282b6d0e9..caf82035b 100644 --- a/src/javascript/jsc/bindings/headers-cpp.h +++ b/src/javascript/jsc/bindings/headers-cpp.h @@ -1,4 +1,4 @@ -//-- AUTOGENERATED FILE -- 1643935973 +//-- AUTOGENERATED FILE -- 1645172173 // clang-format off #pragma once @@ -248,6 +248,14 @@ extern "C" const size_t Bun__Path_object_align_ = alignof(Bun__Path); extern "C" const size_t Zig__ConsoleClient_object_size_ = sizeof(Zig::ConsoleClient); extern "C" const size_t Zig__ConsoleClient_object_align_ = alignof(Zig::ConsoleClient); +#ifndef INCLUDED_ +#define INCLUDED_ +#include +#endif + +extern "C" const size_t Bun__Timer_object_size_ = sizeof(Bun__Timer); +extern "C" const size_t Bun__Timer_object_align_ = alignof(Bun__Timer); + const size_t sizes[30] = {sizeof(JSC::JSObject), sizeof(SystemError), sizeof(JSC::JSCell), sizeof(JSC::JSString), sizeof(Inspector::ScriptArguments), sizeof(JSC::JSModuleLoader), sizeof(JSC::JSModuleRecord), sizeof(JSC::JSPromise), sizeof(JSC::JSInternalPromise), sizeof(JSC::SourceOrigin), sizeof(JSC::SourceCode), sizeof(JSC::JSFunction), sizeof(JSC::JSGlobalObject), sizeof(WTF::URL), sizeof(WTF::String), sizeof(JSC::JSValue), sizeof(JSC::PropertyName), sizeof(JSC::Exception), sizeof(JSC::VM), sizeof(JSC::ThrowScope), sizeof(JSC::CatchScope), sizeof(JSC::CallFrame), sizeof(JSC::Identifier), sizeof(WTF::StringImpl), sizeof(WTF::ExternalStringImpl), sizeof(WTF::StringView), sizeof(Zig::GlobalObject), sizeof(Bun__Readable), sizeof(Bun__Writable), sizeof(Bun__Path)}; const char* names[30] = {"JSC__JSObject", "SystemError", "JSC__JSCell", "JSC__JSString", "Inspector__ScriptArguments", "JSC__JSModuleLoader", "JSC__JSModuleRecord", "JSC__JSPromise", "JSC__JSInternalPromise", "JSC__SourceOrigin", "JSC__SourceCode", "JSC__JSFunction", "JSC__JSGlobalObject", "WTF__URL", "WTF__String", "JSC__JSValue", "JSC__PropertyName", "JSC__Exception", "JSC__VM", "JSC__ThrowScope", "JSC__CatchScope", "JSC__CallFrame", "JSC__Identifier", "WTF__StringImpl", "WTF__ExternalStringImpl", "WTF__StringView", "Zig__GlobalObject", "Bun__Readable", "Bun__Writable", "Bun__Path"}; |