diff options
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.126 2002/04/05 18:54:31 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.127 2002/04/16 17:08:28 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
5 | ** e-mail: info@lua.org | 5 | ** e-mail: info@lua.org |
@@ -22,9 +22,6 @@ | |||
22 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" | 22 | #define LUA_AUTHORS "W. Celes, R. Ierusalimschy & L. H. de Figueiredo" |
23 | 23 | ||
24 | 24 | ||
25 | /* name of global variable with error handler */ | ||
26 | #define LUA_ERRORMESSAGE "_ERRORMESSAGE" | ||
27 | |||
28 | 25 | ||
29 | /* option for multiple returns in `lua_call' */ | 26 | /* option for multiple returns in `lua_call' */ |
30 | #define LUA_MULTRET (-1) | 27 | #define LUA_MULTRET (-1) |
@@ -173,11 +170,12 @@ LUA_API void lua_setmetatable (lua_State *L, int objindex); | |||
173 | */ | 170 | */ |
174 | LUA_API int lua_call (lua_State *L, int nargs, int nresults); | 171 | LUA_API int lua_call (lua_State *L, int nargs, int nresults); |
175 | LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults); | 172 | LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults); |
173 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errf); | ||
176 | LUA_API int lua_loadfile (lua_State *L, const char *filename); | 174 | LUA_API int lua_loadfile (lua_State *L, const char *filename); |
177 | LUA_API int lua_dofile (lua_State *L, const char *filename); | ||
178 | LUA_API int lua_dostring (lua_State *L, const char *str); | ||
179 | LUA_API int lua_loadbuffer (lua_State *L, const char *buff, size_t size, | 175 | LUA_API int lua_loadbuffer (lua_State *L, const char *buff, size_t size, |
180 | const char *name); | 176 | const char *name); |
177 | LUA_API int lua_dofile (lua_State *L, const char *filename); | ||
178 | LUA_API int lua_dostring (lua_State *L, const char *str); | ||
181 | LUA_API int lua_dobuffer (lua_State *L, const char *buff, size_t size, | 179 | LUA_API int lua_dobuffer (lua_State *L, const char *buff, size_t size, |
182 | const char *name); | 180 | const char *name); |
183 | 181 | ||