Consolidate boilerplate in C headers
This commit is contained in:
parent
3f4cde7488
commit
9231fa6095
3 changed files with 8 additions and 10 deletions
|
|
@ -1,12 +1,12 @@
|
|||
#ifndef __tree_sitter_tree_h__
|
||||
#define __tree_sitter_tree_h__
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef size_t TSSymbol;
|
||||
typedef struct TSTree {
|
||||
TSSymbol value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue