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

Function JS_NewCustomContext

deps/quickjs/gen/hello_module.c:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74};
75
76static JSContext *JS_NewCustomContext(JSRuntime *rt)
77{
78 JSContext *ctx = JS_NewContext(rt);
79 if (!ctx)
80 return NULL;
81 js_std_eval_binary(ctx, qjsc_fib_module, qjsc_fib_module_size, 1);
82 return ctx;
83}
84
85int main(int argc, char **argv)
86{

Callers 1

mainFunction · 0.70

Calls 1

js_std_eval_binaryFunction · 0.85

Tested by

no test coverage detected