Sha256: 86744d89c247b9557cf1b447b15e3062182df692a0c6e6b595945c72832b27c8

Contents?: true

Size: 731 Bytes

Versions: 5

Compression:

Stored size: 731 Bytes

Contents

/*
** $Id: lpprint.h,v 1.2 2015/06/12 18:18:08 roberto Exp $
*/


#if !defined(lpprint_h)
#define lpprint_h


#include "lptree.h"
#include "lpvm.h"


#if defined(LPEG_DEBUG)

void printpatt (Instruction *p, int n);
void printtree (TTree *tree, int ident);
void printktable (lua_State *L, int idx);
void printcharset (const byte *st);
void printcaplist (Capture *cap, Capture *limit);
void printinst (const Instruction *op, const Instruction *p);

#else

#define printktable(L,idx)  \
	luaL_error(L, "function only implemented in debug mode")
#define printtree(tree,i)  \
	luaL_error(L, "function only implemented in debug mode")
#define printpatt(p,n)  \
	luaL_error(L, "function only implemented in debug mode")

#endif


#endif

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
immunio-1.2.1 lua-hooks/ext/lpeg/lpprint.h
immunio-1.1.19 lua-hooks/ext/lpeg/lpprint.h
immunio-1.1.18 lua-hooks/ext/lpeg/lpprint.h
immunio-1.1.16 lua-hooks/ext/lpeg/lpprint.h
immunio-1.1.15 lua-hooks/ext/lpeg/lpprint.h