diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-10-10 14:40:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-10-10 14:40:17 -0300 |
commit | afa0d0ac0df60e37fd9473f50041505246228b35 (patch) | |
tree | 4e1bff8a0be61220148e1443a15899f9be2944a5 /lua.h | |
parent | 742b8be0c13b2abd6702c54c5f3ea929c3a9245f (diff) | |
download | lua-afa0d0ac0df60e37fd9473f50041505246228b35.tar.gz lua-afa0d0ac0df60e37fd9473f50041505246228b35.tar.bz2 lua-afa0d0ac0df60e37fd9473f50041505246228b35.zip |
new constant LUA_OK
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.219 2006/09/11 14:07:24 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.220 2006/09/18 14:03:18 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
@@ -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 |