changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > core / lisp/ffi/tree-sitter/alien.c

revision 697: 08621be7e780
parent 696: 38e9c3be2392
     1.1--- a/lisp/ffi/tree-sitter/alien.c	Fri Oct 04 21:11:52 2024 -0400
     1.2+++ b/lisp/ffi/tree-sitter/alien.c	Fri Oct 04 21:45:59 2024 -0400
     1.3@@ -9,14 +9,12 @@
     1.4 
     1.5 // build with:
     1.6 /*
     1.7-  cc -g -O2 -Wall -Wno-unused-value -ltree-sitter -shared alien.c -o /usr/local/lib/libtree-sitter-alien.so
     1.8+  cc -g -O2 -Wall -Wno-unused-value -ltree-sitter -shared lisp/ffi/tree-sitter/alien.c \
     1.9+     -o .stash/libtree-sitter-alien.so
    1.10 */
    1.11 
    1.12 /// Code:
    1.13-#include <stdlib.h>
    1.14-
    1.15-#include "alien.h"
    1.16-
    1.17+#include <tree_sitter/api.h>
    1.18 TSNode *ts_tree_root_node_pointer(const TSTree *self) {
    1.19     TSNode *node = malloc(sizeof(TSNode));
    1.20