diff options
author | Sergio <sqmedeiros@gmail.com> | 2023-01-25 15:55:16 -0300 |
---|---|---|
committer | Sergio <sqmedeiros@gmail.com> | 2023-01-25 15:55:16 -0300 |
commit | e25eb35666201b10dc2778d6147ea36a9f6e033d (patch) | |
tree | 93f588fbbe5f676f43c03b7e4c2164a331fd74b0 | |
parent | f3745e27864607f47811ca6edc6eabd699786004 (diff) | |
download | lpeglabel-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |