* gjs_script_module_build_private: * @cx: the #JSContext * @uri: the URI this script module is loaded from * * To support dynamic imports from scripts, we need to provide private data when * we compile scripts which is compatible with our module resolution hooks in * modules/internal/loader.js * * Returns: a JSObject which can be used for a JSScript's private data. */
| 265 | * Returns: a JSObject which can be used for a JSScript's private data. |
| 266 | */ |
| 267 | JSObject* gjs_script_module_build_private(JSContext* cx, const char* uri) { |
| 268 | return GjsScriptModule::build_private(cx, uri); |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * gjs_module_import: |