Skip to content

Commit 199ff5c

Browse files
committed
updated tree-sitter to v0.25.9
1 parent dd81d9e commit 199ff5c

28 files changed

+1793
-800
lines changed

_automation/treesitter_updater/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
// Constants for the Tree Sitter version and download URL
19-
const sitterVersion = "0.22.5"
19+
const sitterVersion = "0.25.9"
2020
const sitterURL = "https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v" + sitterVersion + ".tar.gz"
2121

2222
func main() {

alloc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ extern "C" {
1515
#define TS_PUBLIC __attribute__((visibility("default")))
1616
#endif
1717

18-
TS_PUBLIC extern void *(*ts_current_malloc)(size_t);
19-
TS_PUBLIC extern void *(*ts_current_calloc)(size_t, size_t);
20-
TS_PUBLIC extern void *(*ts_current_realloc)(void *, size_t);
21-
TS_PUBLIC extern void (*ts_current_free)(void *);
18+
TS_PUBLIC extern void *(*ts_current_malloc)(size_t size);
19+
TS_PUBLIC extern void *(*ts_current_calloc)(size_t count, size_t size);
20+
TS_PUBLIC extern void *(*ts_current_realloc)(void *ptr, size_t size);
21+
TS_PUBLIC extern void (*ts_current_free)(void *ptr);
2222

2323
// Allow clients to override allocation functions
2424
#ifndef ts_malloc

0 commit comments

Comments
 (0)