Remove TSLength from runtime header

Refactor node functions now that character offset and byte offset are stored separately
This commit is contained in:
Max Brunsfeld 2015-12-04 10:45:30 -08:00
parent 8e217f758c
commit 22c76fc71b
6 changed files with 101 additions and 106 deletions

View file

@ -2,9 +2,7 @@
#define RUNTIME_NODE_H_
#include "tree_sitter/parser.h"
#include "runtime/length.h"
#include "runtime/tree.h"
TSNode ts_node_make(const TSTree *, TSLength, size_t);
TSNode ts_node_make(const TSTree *, size_t character, size_t byte, size_t row);
#endif