diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-07 17:53:32 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-07 17:53:32 -0200 |
| commit | 071b2ae0e1aba719cb3f909d2b02c79f5873ff36 (patch) | |
| tree | 5f3a9bcf60bf4da013ab4a0022dfbac57390917d /lua.h | |
| parent | e2498e079e4636217e89f0b28844c4b5df4f8793 (diff) | |
| download | lua-071b2ae0e1aba719cb3f909d2b02c79f5873ff36.tar.gz lua-071b2ae0e1aba719cb3f909d2b02c79f5873ff36.tar.bz2 lua-071b2ae0e1aba719cb3f909d2b02c79f5873ff36.zip | |
details
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 9 |
1 files changed, 4 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.196 2004/12/06 17:53:42 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.197 2004/12/13 12:15:11 roberto Exp roberto $ |
| 3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
| 4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil | 4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil |
| 5 | ** http://www.lua.org mailto:info@lua.org | 5 | ** http://www.lua.org mailto:info@lua.org |
| @@ -18,6 +18,7 @@ | |||
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | #define LUA_VERSION "Lua 5.1 (work)" | 20 | #define LUA_VERSION "Lua 5.1 (work)" |
| 21 | #define LUA_VERSION_NUM 501 | ||
| 21 | #define LUA_COPYRIGHT "Copyright (C) 1994-2004 Tecgraf, PUC-Rio" | 22 | #define LUA_COPYRIGHT "Copyright (C) 1994-2004 Tecgraf, PUC-Rio" |
| 22 | #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" | 23 | #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes" |
| 23 | 24 | ||
| @@ -37,7 +38,7 @@ | |||
| 37 | #define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i)) | 38 | #define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i)) |
| 38 | 39 | ||
| 39 | 40 | ||
| 40 | /* return codes for `lua_pcall', `lua_resume', and `lua_threadstatus' */ | 41 | /* return codes for `lua_pcall', `lua_resume', and `lua_status' */ |
| 41 | #define LUA_YIELD 1 | 42 | #define LUA_YIELD 1 |
| 42 | #define LUA_ERRRUN 2 | 43 | #define LUA_ERRRUN 2 |
| 43 | #define LUA_ERRSYNTAX 3 | 44 | #define LUA_ERRSYNTAX 3 |
| @@ -214,7 +215,7 @@ LUA_API int lua_dump (lua_State *L, lua_Chunkwriter writer, void *data); | |||
| 214 | */ | 215 | */ |
| 215 | LUA_API int lua_yield (lua_State *L, int nresults); | 216 | LUA_API int lua_yield (lua_State *L, int nresults); |
| 216 | LUA_API int lua_resume (lua_State *L, int narg); | 217 | LUA_API int lua_resume (lua_State *L, int narg); |
| 217 | LUA_API int lua_threadstatus (lua_State *L); | 218 | LUA_API int lua_status (lua_State *L); |
| 218 | 219 | ||
| 219 | /* | 220 | /* |
| 220 | ** garbage-collection function and options | 221 | ** garbage-collection function and options |
| @@ -235,8 +236,6 @@ LUA_API int lua_gc (lua_State *L, int what, int data); | |||
| 235 | ** miscellaneous functions | 236 | ** miscellaneous functions |
| 236 | */ | 237 | */ |
| 237 | 238 | ||
| 238 | LUA_API const char *lua_version (void); | ||
| 239 | |||
| 240 | LUA_API int lua_error (lua_State *L); | 239 | LUA_API int lua_error (lua_State *L); |
| 241 | 240 | ||
| 242 | LUA_API int lua_next (lua_State *L, int idx); | 241 | LUA_API int lua_next (lua_State *L, int idx); |
