1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00
semantic/app/bridge.c

14 lines
359 B
C
Raw Normal View History

2015-11-25 00:39:20 +03:00
#include "bridge.h"
void ts_document_root_node_p(TSDocument *document, TSNode *outNode) {
*outNode = ts_document_root_node(document);
}
const char *ts_node_p_name(const TSNode *node, const TSDocument *document) {
return ts_node_name(*node, document);
}
size_t ts_node_p_named_child_count(const TSNode *node) {
return ts_node_named_child_count(*node);
}