aboutsummaryrefslogtreecommitdiff
path: root/lpcode.h
diff options
context:
space:
mode:
authorEduardo Bart <edub4rt@gmail.com>2020-08-23 20:09:40 -0300
committerEduardo Bart <edub4rt@gmail.com>2020-08-23 21:13:18 -0300
commit988b733849c4050cbe7dea110d86c7c8eec6bf77 (patch)
treec88ea1e755e198cd5360a7a089e9a4327a73faac /lpcode.h
parent9d02c572fc0c45d76d73263e51b004be51f359fa (diff)
downloadlpeglabel-988b733849c4050cbe7dea110d86c7c8eec6bf77.tar.gz
lpeglabel-988b733849c4050cbe7dea110d86c7c8eec6bf77.tar.bz2
lpeglabel-988b733849c4050cbe7dea110d86c7c8eec6bf77.zip
Fix name clashing issues with LPEG
Diffstat (limited to 'lpcode.h')
-rw-r--r--lpcode.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lpcode.h b/lpcode.h
index 34ee276..bdd3ec1 100644
--- a/lpcode.h
+++ b/lpcode.h
@@ -11,14 +11,14 @@
11#include "lptree.h" 11#include "lptree.h"
12#include "lpvm.h" 12#include "lpvm.h"
13 13
14int tocharset (TTree *tree, Charset *cs); 14LUAI_FUNC int tocharset (TTree *tree, Charset *cs);
15int checkaux (TTree *tree, int pred); 15LUAI_FUNC int checkaux (TTree *tree, int pred);
16int fixedlen (TTree *tree); 16LUAI_FUNC int fixedlen (TTree *tree);
17int hascaptures (TTree *tree); 17LUAI_FUNC int hascaptures (TTree *tree);
18int lp_gc (lua_State *L); 18LUAI_FUNC int lp_gc (lua_State *L);
19Instruction *compile (lua_State *L, Pattern *p); 19LUAI_FUNC Instruction *compile (lua_State *L, Pattern *p);
20void realloccode (lua_State *L, Pattern *p, int nsize); 20LUAI_FUNC void realloccode (lua_State *L, Pattern *p, int nsize);
21int sizei (const Instruction *i); 21LUAI_FUNC int sizei (const Instruction *i);
22 22
23 23
24#define PEnullable 0 24#define PEnullable 0