Declare the tree field of TSNode with a type of TSTree

This field doesn't need to be treated as opaque.

Co-Authored-By: Ashi Krishnan <queerviolet@github.com>
This commit is contained in:
Max Brunsfeld 2018-06-21 12:53:17 -07:00
parent 7f44e8099e
commit 35ed21139c
2 changed files with 13 additions and 22 deletions

View file

@ -68,7 +68,7 @@ typedef struct {
typedef struct {
uint32_t context[4];
const void *id;
const void *tree;
const TSTree *tree;
} TSNode;
typedef struct {