Commit graph

11 commits

Author SHA1 Message Date
a3b3d3bc51
chore: update quickjs to 2024-01-13 2024-03-23 01:21:50 +01:00
fb9644c07c fix: clippy lints 2023-02-05 23:38:46 +01:00
a702c33c57 fix: warnings from deprecated chrono fn 2023-02-05 22:49:49 +01:00
95c79348b2 recreate bindings with latest bindgen 2023-02-05 20:29:03 +01:00
9f69e8f5b4 format code 2023-02-05 18:34:00 +01:00
fbb192e4b3 fix clippy lints 2023-02-05 18:22:56 +01:00
Christoph Herzog
a158099b25
fix: Remove unused imports 2021-08-09 15:49:37 +02:00
Christoph Herzog
9980a14770 Preparations for making bytecode compilation public 2021-06-08 21:24:47 +00:00
Christoph Herzog
8ed314de5f Remove dead code, make JsCompiledFunction public 2021-06-08 21:24:47 +00:00
Christoph Herzog
ad8d27e463 Move DroppableValue to bindings
Since it is only used for bindings, it's better located there.
2021-06-08 21:24:47 +00:00
Christoph Herzog
f32bb7165a Initial Bindings Refactor
This commit cleans up the bindings code and makes it a little more
structured and coherent.

It also removes sum direct usage of C code, or uses newly exported C
functions where appropriate.

The future goal of these changes is to export more functionality to
users and make the Owned* wrappers public.

* Manually export some additional helpers via static-helpers.c
* Rename Owned* types and move them to a subdirectory
* Add more convenience methods on Owned* types
* Add additional Owned wrappers for functions, bytecode, modules
* Move compile utils to bindings
* Move serializiation to subfile

TODO: The serialization code is also in need of a cleanup.
2021-06-08 21:24:47 +00:00