Refactor with LUA_OK.

Contributed by François Perrad.
This commit is contained in:
Mike Pall
2017-04-07 12:12:03 +02:00
parent 22dfa63283
commit 9c685f7003
6 changed files with 24 additions and 23 deletions

View File

@@ -39,7 +39,8 @@
#define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i))
/* thread status; 0 is OK */
/* thread status */
#define LUA_OK 0
#define LUA_YIELD 1
#define LUA_ERRRUN 2
#define LUA_ERRSYNTAX 3