mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Add a bridging function wrapping ts_node_named_child_count.
This commit is contained in:
parent
3744714c59
commit
5b6c88b6b8
@ -7,3 +7,7 @@ void ts_document_root_node_p(TSDocument *document, TSNode *outNode) {
|
||||
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);
|
||||
}
|
||||
|
@ -3,3 +3,5 @@
|
||||
void ts_document_root_node_p(TSDocument *document, TSNode *outNode);
|
||||
|
||||
const char *ts_node_p_name(const TSNode *node, const TSDocument *document);
|
||||
|
||||
size_t ts_node_p_named_child_count(const TSNode *node);
|
||||
|
Loading…
Reference in New Issue
Block a user