Commit graph quick-js-datepatch/libquickjs-sys/src
Author SHA1 Message Date
95c79348b2 recreate bindings with latest bindgen 2023-02-05 20:29:03 +01:00
fbb192e4b3 fix clippy lints 2023-02-05 18:22:56 +01: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
Andries Hiemstra
d93ef40eb4 added most static inline functions and moved to new file 2020-11-26 10:16:45 +01:00
Andries Hiemstra
dad76a5896 clippy fixes 2 2020-11-07 23:12:19 +01:00
Andries Hiemstra
8d524ff371 clippy fixes 2020-11-07 23:12:19 +01:00
Andries Hiemstra
8e7d1846b0 added static inline functions to lib
JS_DupValue, JS_FreeValue, JS_NewInt32, JS_NewBool and JS_NewFloat64
2020-11-07 23:12:19 +01:00
Christoph Herzog
51d0f28b20 Refactor crate names... damn name squatters! 2019-07-16 23:47:12 +02:00