summaryrefslogtreecommitdiff
path: root/src/lua.h
diff options
context:
space:
mode:
authorMike Pall <mike>2017-04-07 12:12:03 +0200
committerMike Pall <mike>2017-04-07 12:12:03 +0200
commit9c685f7003388725c91ef38627113015676b6d65 (patch)
tree6f7538b8073a9c74ae8d2846e1c3c6f20a68523a /src/lua.h
parent22dfa63283276d5dc13205680bda961ec671aef6 (diff)
downloadluajit-9c685f7003388725c91ef38627113015676b6d65.tar.gz
luajit-9c685f7003388725c91ef38627113015676b6d65.tar.bz2
luajit-9c685f7003388725c91ef38627113015676b6d65.zip
Refactor with LUA_OK.
Contributed by François Perrad.
Diffstat (limited to 'src/lua.h')
-rw-r--r--src/lua.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua.h b/src/lua.h
index 352d29f3..3d527401 100644
--- a/src/lua.h
+++ b/src/lua.h
@@ -39,7 +39,8 @@
39#define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i)) 39#define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i))
40 40
41 41
42/* thread status; 0 is OK */ 42/* thread status */
43#define LUA_OK 0
43#define LUA_YIELD 1 44#define LUA_YIELD 1
44#define LUA_ERRRUN 2 45#define LUA_ERRRUN 2
45#define LUA_ERRSYNTAX 3 46#define LUA_ERRSYNTAX 3