Move tree comparison function to a separate translation unit

This commit is contained in:
Max Brunsfeld 2017-08-04 11:03:14 -07:00
parent 255f7af24b
commit 46ec0804f8
4 changed files with 108 additions and 72 deletions

View file

@ -0,0 +1,11 @@
#ifndef RUNTIME_GET_CHANGED_RANGES_H_
#define RUNTIME_GET_CHANGED_RANGES_H_
#include "runtime/tree.h"
unsigned ts_tree_get_changed_ranges(
Tree *old_tree, Tree *new_tree, TreePath *tree_path1, TreePath *tree_path2,
const TSLanguage *language, TSRange **ranges
);
#endif // RUNTIME_GET_CHANGED_RANGES_H_