Declare subtrees as const wherever possible

Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
This commit is contained in:
Max Brunsfeld 2018-05-11 15:06:13 -07:00
parent 6bb63f549f
commit fe53506175
17 changed files with 244 additions and 222 deletions

View file

@ -4,7 +4,7 @@
#include "runtime/subtree.h"
typedef struct {
Subtree *subtree;
const Subtree *subtree;
Length position;
uint32_t child_index;
uint32_t structural_child_index;