mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
Add some bridges and stuff.
This commit is contained in:
parent
7879dccb63
commit
cb08d79464
5
app/bridge.c
Normal file
5
app/bridge.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include "bridge.h"
|
||||
|
||||
void ts_document_root_node_p(TSDocument *document, TSNode *outNode) {
|
||||
*outNode = ts_document_root_node(document);
|
||||
}
|
3
app/bridge.h
Normal file
3
app/bridge.h
Normal file
@ -0,0 +1,3 @@
|
||||
#include "tree_sitter/runtime.h"
|
||||
|
||||
void ts_document_root_node_p(TSDocument *document, TSNode *outNode);
|
Loading…
Reference in New Issue
Block a user