about summary refs log tree commit diff stats
path: root/lib/quickjs/quickjs.h
Commit message (Collapse)AuthorAgeFilesLines
* js: simplify toJSP0bptato2023-11-301-0/+2
| | | | | | | * Expose js_create_from_ctor from QuickJS and directly use that (instead of badly recreating it) * Do not call defineUnforgeable twice (it is inevitably called in toJSP0, so jsctor does not need it)
* base64: reduce pointless re-coding using JSStringbptato2023-10-211-0/+7
| | | | | We now expose some functions from QuickJS to interact with JavaScript strings without re-encoding them into UTF-8.
* Remove getClassID hackbptato2023-06-271-0/+1
| | | | Add a JS_GetClassID function to QJS instead.
* Working Nim-QuickJS GC integrationbptato2023-06-241-0/+2
| | | | I believe this works correctly. Hopefully I'm not wrong.
* Include QuickJS sources in the repositorybptato2023-06-221-0/+1061
Taken from txiki.js, so it includes zamofex's top-level await patch.