export JS_GetModuleNamespace (github issue #34)

This commit is contained in:
Fabrice Bellard
2024-01-27 13:27:32 +01:00
parent cd666a851f
commit c6cc6a9a5e
2 changed files with 6 additions and 7 deletions

View File

@@ -876,6 +876,7 @@ void JS_SetModuleLoaderFunc(JSRuntime *rt,
/* return the import.meta object of a module */
JSValue JS_GetImportMeta(JSContext *ctx, JSModuleDef *m);
JSAtom JS_GetModuleName(JSContext *ctx, JSModuleDef *m);
JSValue JS_GetModuleNamespace(JSContext *ctx, JSModuleDef *m);
/* JS Job support */