diff options
Diffstat (limited to 'lundump.h')
-rw-r--r-- | lundump.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -18,8 +18,7 @@ | |||
18 | #define LUAC_INT 0x5678 | 18 | #define LUAC_INT 0x5678 |
19 | #define LUAC_NUM cast_num(370.5) | 19 | #define LUAC_NUM cast_num(370.5) |
20 | 20 | ||
21 | #define MYINT(s) (s[0]-'0') | 21 | #define LUAC_VERSION LUA_VERSION_NUM |
22 | #define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR)) | ||
23 | #define LUAC_FORMAT 0 /* this is the official format */ | 22 | #define LUAC_FORMAT 0 /* this is the official format */ |
24 | 23 | ||
25 | /* load one chunk; from lundump.c */ | 24 | /* load one chunk; from lundump.c */ |