1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

Bridge node sizing.

This commit is contained in:
Rob Rix 2015-11-25 12:22:21 -05:00
parent 81d529dee8
commit 6444566952
2 changed files with 5 additions and 0 deletions

View File

@ -22,3 +22,7 @@ void ts_node_p_named_child(const TSNode *node, size_t index, TSNode *outNode) {
void ts_node_p_pos_p(const TSNode *node, TSLength *outLength) {
*outLength = ts_node_pos(*node);
}
void ts_node_p_size_p(const TSNode *node, TSLength *outLength) {
*outLength = ts_node_size(*node);
}

View File

@ -8,3 +8,4 @@ size_t ts_node_p_named_child_count(const TSNode *node);
void ts_node_p_named_child(const TSNode *node, size_t index, TSNode *outNode);
void ts_node_p_pos_p(const TSNode *node, TSLength *outLength);
void ts_node_p_size_p(const TSNode *node, TSLength *outLength);