Consolidate boilerplate in C headers

This commit is contained in:
Max Brunsfeld 2014-01-11 18:16:52 -08:00
parent 3f4cde7488
commit 9231fa6095
3 changed files with 8 additions and 10 deletions

View file

@ -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;