tree-sitter/spec/runtime/helpers/tree_helpers.h
Max Brunsfeld 63cde3967c Add unit test for stack
- Also, fix bug where trees pushed onto the stack were not retained
2014-06-03 13:19:49 -07:00

5 lines
No EOL
105 B
C++

#include "tree_sitter/runtime.h"
#include <vector>
ts_tree ** tree_array(std::vector<ts_tree *> trees);