Simplify setup for enabling/disabling allocation recording in the C lib
This commit is contained in:
parent
00d25e8298
commit
b661050a61
10 changed files with 72 additions and 64 deletions
|
|
@ -9,7 +9,7 @@ extern "C" {
|
|||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(TREE_SITTER_TEST)
|
||||
#if defined(TREE_SITTER_ALLOCATION_TRACKING)
|
||||
|
||||
void *ts_record_malloc(size_t);
|
||||
void *ts_record_calloc(size_t, size_t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue