Files
Zurab Kvachadze 8fd3258d35 quickjs.h: Add JS_MODULE_EXTERN macro and use it in examples/
The new macro is a counterpart to JS_EXTERN, but for binary C modules.
This commit introduces one more preprocessor define that must be set
when building C modules.

This commit changes examples/fib.c and examples/point.c to use the new
macro, while also removing redundant JS_SHARED_LIBRARY. Additionally,
the includes use the angled brackets now since quickjs.h is supposed to
be external to the binary modules.

meson.build is fixed to properly add the include directory; the manual
header copying has also been removed as it is redundant.

Signed-off-by: Zurab Kvachadze <[email protected]>
2026-02-09 14:28:55 +01:00
..
2020-09-06 18:53:08 +02:00
2020-09-06 18:53:08 +02:00
2020-09-06 18:53:08 +02:00
2023-11-12 10:01:40 +01:00
2024-10-24 22:24:03 +02:00