From 54dcf8b55d965a3c7ebcc982bb51113719b0aa04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 3 Dec 2024 15:13:18 +0100 Subject: [PATCH] Fix exporting JS_GetModuleNamespace --- quickjs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickjs.h b/quickjs.h index 709da6b1..64612834 100644 --- a/quickjs.h +++ b/quickjs.h @@ -837,7 +837,7 @@ JS_EXTERN void JS_SetModuleLoaderFunc(JSRuntime *rt, /* return the import.meta object of a module */ JS_EXTERN JSValue JS_GetImportMeta(JSContext *ctx, JSModuleDef *m); JS_EXTERN JSAtom JS_GetModuleName(JSContext *ctx, JSModuleDef *m); -JSValue JS_GetModuleNamespace(JSContext *ctx, JSModuleDef *m); +JS_EXTERN JSValue JS_GetModuleNamespace(JSContext *ctx, JSModuleDef *m); /* JS Job support */