chore: apply common approach for api.h defs

This commit is contained in:
Andrew Hlynskyi 2023-08-02 00:33:10 +03:00
parent 1ac134a97d
commit b9e3cc56d6
2 changed files with 0 additions and 6 deletions

View file

@ -32,10 +32,7 @@ extern "C" {
/* Section - Types */
/*******************/
#ifndef TREE_SITTER_PARSER_H_
typedef uint16_t TSStateId;
#endif
typedef uint16_t TSSymbol;
typedef uint16_t TSFieldId;
typedef struct TSLanguage TSLanguage;

View file

@ -15,9 +15,6 @@ extern "C" {
#ifndef TREE_SITTER_API_H_
typedef uint16_t TSStateId;
#endif
#ifndef TREE_SITTER_API_H_
typedef uint16_t TSSymbol;
typedef uint16_t TSFieldId;
typedef struct TSLanguage TSLanguage;