Amaan Qureshi
|
e75a36232b
|
fix(lib): include api.h so ts_set_allocator is visible
|
2024-02-27 09:21:17 -05:00 |
|
Amaan Qureshi
|
f1eecf9786
|
feat: expose the allocator and array header files for external scanners
|
2024-02-26 09:43:13 -05:00 |
|
Max Brunsfeld
|
68ba9a4d66
|
Grow memory dynamically as-needed when loading wasm language modules
|
2023-12-03 12:12:47 -08:00 |
|
Amaan Qureshi
|
d710dc9c89
|
fix: ensure function signatures in the API consistently show parameter names
|
2023-08-03 22:17:53 +01:00 |
|
Amaan Qureshi
|
269a9a8ecf
|
fix!: use abort instead of exit(1) when allocations fail
|
2023-07-24 02:28:09 -04:00 |
|
Max Brunsfeld
|
622359b400
|
Simplify allocation-recording in test suite using new ts_set_allocator API
|
2021-12-30 16:09:07 -08:00 |
|
Mingkai Dong
|
8e4d4ef8b9
|
Replace allocator struct with function pointers
|
2021-12-24 09:28:23 +08:00 |
|
Mingkai Dong
|
486ea2569d
|
Avoid allocator from being switched more than once
|
2021-12-18 16:45:18 +08:00 |
|
Mingkai Dong
|
578bf74bf3
|
Add TSAllocator and ts_set_allocator in api.h
|
2021-12-18 09:53:58 +08:00 |
|
Mingkai Dong
|
b516f96f37
|
Fix declaration of ts_toggle_allocation_recording
|
2021-12-18 00:33:49 +08:00 |
|
Mingkai Dong
|
e742186c25
|
Allow to change the allocator dynamically
|
2021-12-17 20:16:20 +08:00 |
|