Avoid warnings about repeated typedefs

This commit is contained in:
Max Brunsfeld 2018-05-17 17:59:50 -07:00
parent 5ec3769cb4
commit 3c01382b95
5 changed files with 12 additions and 9 deletions

View file

@ -12,7 +12,7 @@ extern "C" {
#define TREE_SITTER_LANGUAGE_VERSION 8
typedef unsigned short TSSymbol;
typedef uint16_t TSSymbol;
typedef struct TSLanguage TSLanguage;
typedef struct TSParser TSParser;
typedef struct TSTree TSTree;