diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-19 01:04:52 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-19 01:04:52 +0100 |
commit | a04485f298d75ccbd8fc0b6fdd7be9ca63817cb0 (patch) | |
tree | f254ff77f3d8a497b19a1afe71efa481c7bdb3e6 /src/bindings | |
parent | b1ad3a6950c76fc38593f46eb39d65a7dc1bfcec (diff) | |
download | chawan-a04485f298d75ccbd8fc0b6fdd7be9ca63817cb0.tar.gz |
More work on DOM (incl. bugfixes)
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/quickjs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bindings/quickjs.nim b/src/bindings/quickjs.nim index 59914e43..34f24cec 100644 --- a/src/bindings/quickjs.nim +++ b/src/bindings/quickjs.nim @@ -342,6 +342,7 @@ proc JS_NewCFunction2*(ctx: JSContext, cfunc: JSCFunction, name: cstring, length proc JS_NewCFunction*(ctx: JSContext, cfunc: JSCFunction, name: cstring, length: cint): JSValue proc JS_NewString*(ctx: JSContext, str: cstring): JSValue +proc JS_NewStringLen*(ctx: JSContext, str: cstring, len1: csize_t): JSValue proc JS_SetProperty*(ctx: JSContext, this_obj: JSValue, prop: JSAtom, val: JSValue): cint proc JS_SetPropertyUint32*(ctx: JSContext, this_obj: JSValue, idx: uint32, val: JSValue): cint |