Move some ts_language functions to the right file

This commit is contained in:
Max Brunsfeld 2015-11-20 12:00:49 -08:00
parent 5c95d02bd0
commit 467930a785
3 changed files with 45 additions and 27 deletions

18
src/runtime/language.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef RUNTIME_LANGUAGE_H_
#define RUNTIME_LANGUAGE_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "tree_sitter/parser.h"
const TSParseAction *ts_language_actions(const TSLanguage *, TSStateId,
TSSymbol);
TSParseAction ts_language_last_action(const TSLanguage *, TSStateId, TSSymbol);
#ifdef __cplusplus
}
#endif
#endif // RUNTIME_LANGUAGE_H_