Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/jsc/bindings/ZigGlobalObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4080,6 +4080,10 @@ GlobalObject::PromiseFunctions GlobalObject::promiseHandlerID(Zig::FFIFunction h
return GlobalObject::PromiseFunctions::Bun__HTTPRequestContextDebugH3__onResolve;
} else if (handler == Bun__HTTPRequestContextDebugH3__onResolveStream) {
return GlobalObject::PromiseFunctions::Bun__HTTPRequestContextDebugH3__onResolveStream;
} else if (handler == Bun__JSBundler__onResolvePluginSetup) {
return GlobalObject::PromiseFunctions::Bun__JSBundler__onResolvePluginSetup;
} else if (handler == Bun__JSBundler__onRejectPluginSetup) {
return GlobalObject::PromiseFunctions::Bun__JSBundler__onRejectPluginSetup;
} else {
RELEASE_ASSERT_NOT_REACHED();
}
Expand Down
4 changes: 3 additions & 1 deletion src/jsc/bindings/ZigGlobalObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,10 @@ class GlobalObject : public Bun::GlobalScope {
Bun__HTTPRequestContextDebugH3__onRejectStream,
Bun__HTTPRequestContextDebugH3__onResolve,
Bun__HTTPRequestContextDebugH3__onResolveStream,
Bun__JSBundler__onResolvePluginSetup,
Bun__JSBundler__onRejectPluginSetup,
};
static constexpr size_t promiseFunctionsSize = 42;
static constexpr size_t promiseFunctionsSize = 44;

static PromiseFunctions promiseHandlerID(SYSV_ABI EncodedJSValue (*handler)(JSC::JSGlobalObject* arg0, JSC::CallFrame* arg1));

Expand Down
3 changes: 3 additions & 0 deletions src/jsc/bindings/headers.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading