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

@ -1,7 +1,7 @@
#ifndef RUNTIME_LENGTH_H_
#define RUNTIME_LENGTH_H_
#include "tree_sitter/runtime.h"
#include "tree_sitter/parser.h"
#include <stdbool.h>
static inline TSLength ts_length_add(TSLength len1, TSLength len2) {