diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-20 19:50:41 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-20 19:50:41 +0100 |
commit | 18350159ad39c25d8acf6d9abdc4084592d58a21 (patch) | |
tree | 7fff0c63ff7d81581954cb69d9553a7ad7006b4a /src/bindings | |
parent | d8ff191ee73753e75abcaac92fa3128413da4251 (diff) | |
download | chawan-18350159ad39c25d8acf6d9abdc4084592d58a21.tar.gz |
Fix JS_GetPropertyNames bindings
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/quickjs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/quickjs.nim b/src/bindings/quickjs.nim index 34f24cec..cfef9693 100644 --- a/src/bindings/quickjs.nim +++ b/src/bindings/quickjs.nim @@ -352,7 +352,7 @@ proc JS_SetPropertyFunctionList*(ctx: JSContext, obj: JSValue, tab: ptr JSCFunct proc JS_GetProperty*(ctx: JSContext, this_obj: JSValue, prop: JSAtom): JSValue proc JS_GetPropertyStr*(ctx: JSContext, this_obj: JSValue, prop: cstring): JSValue proc JS_GetPropertyUint32*(ctx: JSContext, this_obj: JSValue, idx: uint32): JSValue -proc JS_GetOwnPropertyNames*(ctx: JSContext, ptab: ptr ptr JSPropertyEnum, plen: ptr uint32, obj: JSValue, flags: cint): int +proc JS_GetOwnPropertyNames*(ctx: JSContext, ptab: ptr ptr JSPropertyEnum, plen: ptr uint32, obj: JSValue, flags: cint): cint proc JS_GetOwnProperty*(ctx: JSContext, desc: ptr JSPropertyDescriptor, obj: JSValue, prop: JSAtom): cint proc JS_Call*(ctx: JSContext, func_obj, this_obj: JSValue, argc: cint, argv: ptr JSValue): JSValue |