refactor: rename TS_REUSE_ALLOCATOR flag
TREE_SITTER_REUSE_ALLOCATOR is more consistent
This commit is contained in:
parent
46520eda58
commit
502dacf220
3 changed files with 3 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ TS_PUBLIC extern void *(*ts_current_realloc)(void *, size_t);
|
|||
TS_PUBLIC extern void (*ts_current_free)(void *);
|
||||
|
||||
// Allow clients to override allocation functions
|
||||
#ifdef TS_REUSE_ALLOCATOR
|
||||
#ifdef TREE_SITTER_REUSE_ALLOCATOR
|
||||
|
||||
#ifndef ts_malloc
|
||||
#define ts_malloc ts_current_malloc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue