We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3a3e0 commit 738d873Copy full SHA for 738d873
Sources/_CJavaScriptKit/_CJavaScriptKit.c
@@ -1,6 +1,8 @@
1
#include "_CJavaScriptKit.h"
2
#include <stdlib.h>
3
4
+#if __wasm32__
5
+
6
void _call_host_function_impl(const JavaScriptHostFuncRef host_func_ref,
7
const RawJSValue *argv, const int argc,
8
const JavaScriptObjectRef callback_func);
@@ -29,3 +31,5 @@ __attribute__((export_name("swjs_library_version")))
29
31
int _library_version() {
30
32
return 700;
33
}
34
35
+#endif
0 commit comments