aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio <sqmedeiros@gmail.com>2023-01-25 15:55:16 -0300
committerSergio <sqmedeiros@gmail.com>2023-01-25 15:55:16 -0300
commite25eb35666201b10dc2778d6147ea36a9f6e033d (patch)
tree93f588fbbe5f676f43c03b7e4c2164a331fd74b0
parentf3745e27864607f47811ca6edc6eabd699786004 (diff)
downloadlpeglabel-e25eb35666201b10dc2778d6147ea36a9f6e033d.tar.gz
lpeglabel-e25eb35666201b10dc2778d6147ea36a9f6e033d.tar.bz2
lpeglabel-e25eb35666201b10dc2778d6147ea36a9f6e033d.zip
Adding a simple definition for LUAI_FUNC (https://github.com/sqmedeiros/lpeglabel/issues/33)
-rw-r--r--lpltypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lpltypes.h b/lpltypes.h
index aae0c02..54adb80 100644
--- a/lpltypes.h
+++ b/lpltypes.h
@@ -143,6 +143,10 @@ typedef struct Charset {
143#define testchar(st,c) (((int)(st)[((c) >> 3)] & (1 << ((c) & 7)))) 143#define testchar(st,c) (((int)(st)[((c) >> 3)] & (1 << ((c) & 7))))
144 144
145/* labeled failure begin */ 145/* labeled failure begin */
146#if !defined(LUAI_FUNC)
147#define LUAI_FUNC extern
148#endif
149
146#define LFAIL 0 150#define LFAIL 0
147 151
148/* update the farthest failure */ 152/* update the farthest failure */