add LUA_OK

This commit is contained in:
Francois Perrad 2017-03-20 18:00:17 +01:00
parent de97b9d52b
commit 4316ae7275

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