Use stdbool.h

This commit is contained in:
Max Brunsfeld 2014-10-03 16:06:08 -07:00
parent 808b003f1a
commit e5ea4efb0b
7 changed files with 25 additions and 22 deletions

View file

@ -6,6 +6,7 @@ extern "C" {
#endif
#include <stdlib.h>
#include <stdbool.h>
typedef struct {
size_t bytes;
@ -43,7 +44,7 @@ const char *ts_node_name(const TSNode *);
const char *ts_node_string(const TSNode *);
void ts_node_retain(TSNode *node);
void ts_node_release(TSNode *node);
int ts_node_eq(const TSNode *, const TSNode *);
bool ts_node_eq(const TSNode *, const TSNode *);
typedef struct TSDocument TSDocument;
TSDocument *ts_document_make();