aboutsummaryrefslogtreecommitdiff
path: root/src/javascript/jsc/bindings/ZigGlobalObject.cpp
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-20 04:38:04 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-20 04:38:04 -0700
commitbc85dd2330763189e7f28941cc6e35903d6b49a9 (patch)
treef9ba5b865615c1f4a4032d28aea47e7b6fda4a7b /src/javascript/jsc/bindings/ZigGlobalObject.cpp
parenta6b128590d104aa38a12ff20d820d02f0b6a8e6c (diff)
downloadbun-bc85dd2330763189e7f28941cc6e35903d6b49a9.tar.gz
bun-bc85dd2330763189e7f28941cc6e35903d6b49a9.tar.zst
bun-bc85dd2330763189e7f28941cc6e35903d6b49a9.zip
the events, they loop
Diffstat (limited to 'src/javascript/jsc/bindings/ZigGlobalObject.cpp')
-rw-r--r--src/javascript/jsc/bindings/ZigGlobalObject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/javascript/jsc/bindings/ZigGlobalObject.cpp b/src/javascript/jsc/bindings/ZigGlobalObject.cpp
index 4c6a0f9c2..cf853e2d4 100644
--- a/src/javascript/jsc/bindings/ZigGlobalObject.cpp
+++ b/src/javascript/jsc/bindings/ZigGlobalObject.cpp
@@ -557,7 +557,8 @@ static JSC_DEFINE_HOST_FUNCTION(functionImportMeta__resolve,
}
}
-extern "C" void Bun__reportError(JSC::JSGlobalObject*, JSC__JSValue);
+extern "C" void Bun__reportError(JSC__JSGlobalObject*, JSC__JSValue);
+
static JSC_DECLARE_HOST_FUNCTION(functionReportError);
static JSC_DEFINE_HOST_FUNCTION(functionReportError,
(JSC::JSGlobalObject * globalObject, JSC::CallFrame* callFrame))