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
2025-12-01 18:51:39 +01:00
2026-01-07 23:07:34 +01:00
2026-01-08 00:02:31 +01:00
2026-01-29 11:31:41 +01:00
2025-11-08 13:55:58 +01:00
2026-01-29 11:31:41 +01:00
2025-12-01 18:51:39 +01:00
2026-01-29 11:31:41 +01:00
2025-01-24 23:45:27 +01:00
2026-01-08 00:02:31 +01:00
2025-10-16 13:45:16 +02:00
2026-01-08 00:02:31 +01:00
2024-11-15 13:30:06 +01:00
2025-12-07 23:03:12 +01:00
2026-01-07 00:34:56 +01:00
2025-12-01 18:51:39 +01:00
2025-12-01 18:51:39 +01:00

⚡️ QuickJS - A mighty JavaScript engine

Overview

QuickJS is a small and embeddable JavaScript engine. It aims to support the latest ECMAScript specification.

This project is a fork of the original QuickJS project by Fabrice Bellard and Charlie Gordon, after it went dormant, with the intent of reigniting its development.

Getting started

Head over to the project website for instructions on how to get started and more documentation.

Authors

@bnoordhuis, @saghul, and many more contributors.

S
Description
QuickJS, the Next Generation: a mighty JavaScript engine
Readme MIT
40 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 92.2%
JavaScript 6.7%
CMake 0.5%
Meson 0.5%
Makefile 0.1%