Commit graph

2 commits

Author SHA1 Message Date
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
Christoph Herzog
03998e454c Fix up static wrapper logic
Compile with proper flags.

Also: do not generate for system builds.
2021-02-04 20:36:50 +01:00
Renamed from libquickjs-sys/static-functions.c (Browse further)