diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-17 13:52:11 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-17 13:52:11 +0100 |
commit | c20df592ada6f699389f62d57aae196b5580ed89 (patch) | |
tree | 1e2d77dafabdf6871a7fcf4c29eac70e83e882e6 /src/bindings | |
parent | 7c227f8160abfbde62437aedae1c144c257aacca (diff) | |
download | chawan-c20df592ada6f699389f62d57aae196b5580ed89.tar.gz |
js: small improvements
* turn JSFuncGenerator into a ref object (it's faster this way) * remove strformat dependency
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 53de66b0..28cd4edf 100644 --- a/src/bindings/quickjs.nim +++ b/src/bindings/quickjs.nim @@ -136,7 +136,7 @@ type JSClassDefConst* {.importc: "const JSClassDef *", header: qjsheader.} = ptr JSClassDef - JSMemoryUsage* = object + JSMemoryUsage* = object malloc_size*, malloc_limit*, memory_used_size*: int64 malloc_count*: int64 memory_used_count*: int64 |