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,13 +1,12 @@
#ifndef __tree_sitter_document_h__
#define __tree_sitter_document_h__
#include "./tree.h"
#include "./parse_config.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "./tree.h"
#include "./parse_config.h"
typedef struct TSDocument TSDocument;
TSDocument * TSDocumentMake();