diff options
author | bptato <nincsnevem662@gmail.com> | 2023-06-22 23:36:42 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-06-22 23:36:42 +0200 |
commit | 3b76f5f08893c38227474abf3b265d9aea06c04f (patch) | |
tree | 3ca407e3f1bb1a3a794a812888d8fcc8e88c0b90 /src/bindings | |
parent | fd8f6d7d127b088656aff0d49c6ae4623d8de8bb (diff) | |
download | chawan-3b76f5f08893c38227474abf3b265d9aea06c04f.tar.gz |
Fix module loading bugs
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/quickjs.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/quickjs.nim b/src/bindings/quickjs.nim index 7c1370a9..7160ce07 100644 --- a/src/bindings/quickjs.nim +++ b/src/bindings/quickjs.nim @@ -445,4 +445,6 @@ proc JS_GetContextOpaque*(ctx: JSContext): pointer proc js_free_rt*(rt: JSRuntime, p: pointer) proc js_free*(ctx: JSContext, p: pointer) + +proc js_strdup*(ctx: JSContext, str: cstring): cstring {.pop.} |