diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-13 10:44:50 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-13 10:44:50 -0300 |
| commit | eb3de8768a6b614597f7e5f018fc31a9f52441df (patch) | |
| tree | ea6e0e48f6d6d8bccb4c168171bbb13a3bca1c99 /lua.h | |
| parent | 864c96f36ce8410b03652b1cb9800e4b3c76bcf7 (diff) | |
| download | lua-eb3de8768a6b614597f7e5f018fc31a9f52441df.tar.gz lua-eb3de8768a6b614597f7e5f018fc31a9f52441df.tar.bz2 lua-eb3de8768a6b614597f7e5f018fc31a9f52441df.zip | |
`rawcall' -> `upcall' (unprotected call)
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.138 2002/06/06 12:40:22 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.139 2002/06/13 13:39:55 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 |
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | /* option for multiple returns in `lua_pcall' and `lua_rawcall' */ | 28 | /* option for multiple returns in `lua_pcall' and `lua_upcall' */ |
| 29 | #define LUA_MULTRET (-1) | 29 | #define LUA_MULTRET (-1) |
| 30 | 30 | ||
| 31 | 31 | ||
| @@ -179,7 +179,7 @@ LUA_API void lua_setmetatable (lua_State *L, int objindex); | |||
| 179 | /* | 179 | /* |
| 180 | ** `load' and `call' functions (load and run Lua code) | 180 | ** `load' and `call' functions (load and run Lua code) |
| 181 | */ | 181 | */ |
| 182 | LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults); | 182 | LUA_API void lua_upcall (lua_State *L, int nargs, int nresults); |
| 183 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errf); | 183 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errf); |
| 184 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, | 184 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, |
| 185 | const char *chunkname); | 185 | const char *chunkname); |
