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:
parent
81d529dee8
commit
6444566952
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user