#if !defined(capture_h)
#define capture_h
#include "config.h"
#include "rplx.h"
#include "vm.h"
#include "buf.h"
#define acceptable_capture(kind) (((kind) == Crosiecap) || ((kind) == Crosieconst) || ((kind) == Cbackref))
#define MAXNUMBER2STR 16
#define INT_FMT "%d"
#define r_inttostring(s, i) (snprintf((char *)(s), (MAXNUMBER2STR), (INT_FMT), (i)))
int debug_Close(CapState *cs, Buffer *buf, int count, const char *start);
int debug_Open(CapState *cs, Buffer *buf, int count);
int byte_Close(CapState *cs, Buffer *buf, int count, const char *start);
int byte_Open(CapState *cs, Buffer *buf, int count);
int noop_Close(CapState *cs, Buffer *buf, int count, const char *start);
int noop_Open(CapState *cs, Buffer *buf, int count);
#endif