MCPcopy Create free account
hub / github.com/buke/quickjs-go / js_init_module_bjson

Function js_init_module_bjson

deps/quickjs/quickjs-libc.c:5029–5037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5027}
5028
5029JSModuleDef *js_init_module_bjson(JSContext *ctx, const char *module_name)
5030{
5031 JSModuleDef *m;
5032 m = JS_NewCModule(ctx, module_name, js_bjson_init);
5033 if (!m)
5034 return NULL;
5035 JS_AddModuleExportList(ctx, m, js_bjson_funcs, countof(js_bjson_funcs));
5036 return m;
5037}

Callers 2

JS_NewCustomContextFunction · 0.85
JS_NewCustomContextFunction · 0.85

Calls

no outgoing calls

Tested by 1

JS_NewCustomContextFunction · 0.68