aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-05-07 14:52:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-05-07 14:52:19 -0300
commit0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27 (patch)
treeae72fdc58b14151847c9afba5cb8bbfe725d449f /lundump.h
parent61a4e64a6667bedaa882571c48a173ef5a4ba73b (diff)
downloadlua-0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27.tar.gz
lua-0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27.tar.bz2
lua-0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27.zip
Details in comments
Diffstat (limited to 'lundump.h')
-rw-r--r--lundump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lundump.h b/lundump.h
index 2df6923e..f3748a99 100644
--- a/lundump.h
+++ b/lundump.h
@@ -21,7 +21,7 @@
21/* 21/*
22** Encode major-minor version in one byte, one nibble for each 22** Encode major-minor version in one byte, one nibble for each
23*/ 23*/
24#define MYINT(s) (s[0]-'0') /* assume one-digit numbers */ 24#define MYINT(s) (s[0]-'0') /* assume one-digit numerals */
25#define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR)) 25#define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
26 26
27#define LUAC_FORMAT 0 /* this is the official format */ 27#define LUAC_FORMAT 0 /* this is the official format */