Remove ts_allocator from api.h

Since we have exposed the function to set allocator, we don't need to
expose the global variable in `api.h`.
This commit is contained in:
Mingkai Dong 2021-12-18 11:26:18 +08:00
parent 578bf74bf3
commit b9b051e933

View file

@ -145,12 +145,6 @@ typedef struct {
/* Section - Parser */
/********************/
/**
* The allocator.
*/
extern TSAllocator *ts_allocator;
/**
* Switch to a new allocator.
*