Charlie Gordon bbf36d5b84 Fix big endian serialization
Big endian serialization was broken because:
- it partially relied on `WORDS_ENDIAN` (unconditionally undef'd in cutils.h)
- endianness was not handled at all in the bc reader.

Modifications:
- remove `WORDS_ENDIAN`
- use `bc_put_u32()` / `bc_put_u64()` in `JS_WriteBigInt()`
- use `bc_get_u32()` / `bc_get_u64()` in `JS_ReadBigInt()`
- handle host endianness in `bc_get_u16()`, `bc_get_u32()`, `bc_get_u64()` and
  `JS_ReadFunctionBytecode()`

- handle optional littleEndian argument as specified in
  `js_dataview_getValue()` and `js_dataview_setValue()`
2024-02-18 08:29:04 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-17 21:54:19 +01:00
2024-02-17 22:57:57 +01:00
2024-01-19 10:18:32 +01:00
2024-02-10 16:19:17 +01:00
2024-02-18 08:29:04 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-17 22:56:54 +01:00
2024-02-12 11:28:00 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-18 08:29:04 +01:00
2024-02-10 16:19:17 +01:00
2020-09-06 18:53:08 +02:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2024-02-10 16:19:17 +01:00
2020-09-06 18:53:08 +02:00
2024-02-10 20:54:29 +01:00
2024-01-27 13:12:37 +01:00
2024-02-10 16:19:17 +01:00
2023-12-05 16:51:16 +01:00
2024-02-12 18:35:27 +01:00
2024-02-15 10:30:04 +01:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.
Description
Public repository of the QuickJS Javascript Engine.
Readme MIT 13 MiB
Languages
C 93.9%
JavaScript 5.4%
Makefile 0.5%
Shell 0.2%