tree-sitter/src/runtime/debugger.h
Max Brunsfeld ad9aee30e0 Fix travis build
Don't use C99 struct literal syntax in debugger header,
because it's included by the tests, which are c++
2014-10-16 12:36:08 -07:00

19 lines
296 B
C

#ifndef RUNTIME_DEBUGGER_H_
#define RUNTIME_DEBUGGER_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "tree_sitter/runtime.h"
static inline TSDebugger ts_debugger_null() {
TSDebugger debugger = { 0, 0, 0 };
return debugger;
}
#ifdef __cplusplus
}
#endif
#endif // RUNTIME_DEBUGGER_H_