@gram-data/tree-sitter-gram 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,10 +12,10 @@ extern "C" {
12
12
  // Allow clients to override allocation functions
13
13
  #ifdef TREE_SITTER_REUSE_ALLOCATOR
14
14
 
15
- extern void *(*ts_current_malloc)(size_t);
16
- extern void *(*ts_current_calloc)(size_t, size_t);
17
- extern void *(*ts_current_realloc)(void *, size_t);
18
- extern void (*ts_current_free)(void *);
15
+ extern void *(*ts_current_malloc)(size_t size);
16
+ extern void *(*ts_current_calloc)(size_t count, size_t size);
17
+ extern void *(*ts_current_realloc)(void *ptr, size_t size);
18
+ extern void (*ts_current_free)(void *ptr);
19
19
 
20
20
  #ifndef ts_malloc
21
21
  #define ts_malloc ts_current_malloc