tree-sitter/src/runtime/debugger.h
Max Brunsfeld ebd60213d9 Drop release functions from callback structs
The caller can just as easily take care of the cleanup explicitly
2015-09-08 23:24:33 -07:00

19 lines
293 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 };
return debugger;
}
#ifdef __cplusplus
}
#endif
#endif // RUNTIME_DEBUGGER_H_