Move tree comparison function to a separate translation unit
This commit is contained in:
parent
255f7af24b
commit
46ec0804f8
4 changed files with 108 additions and 72 deletions
11
src/runtime/get_changed_ranges.h
Normal file
11
src/runtime/get_changed_ranges.h
Normal 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_
|
||||
Loading…
Add table
Add a link
Reference in a new issue