docs: fix tree cursor documentation (#3324)

- ts_tree_cursor_current_depth
- ts_tree_cursor_reset
This commit is contained in:
ibrahim Sağıroğlu 2024-07-28 10:36:06 +03:00 committed by GitHub
parent f50123a3ec
commit 76456919ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View file

@ -682,7 +682,8 @@ TSTreeCursor ts_tree_cursor_new(TSNode node);
void ts_tree_cursor_delete(TSTreeCursor *self);
/**
* Re-initialize a tree cursor to start at a different node.
* Re-initialize a tree cursor to start at the original node that the cursor was
* constructed with.
*/
void ts_tree_cursor_reset(TSTreeCursor *self, TSNode node);