diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-25 16:18:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-25 16:18:49 -0300 |
commit | 78c507b7b83a85c106b619ce2050725a80627a25 (patch) | |
tree | a2d2f27f3a98bca084f7430c085fe30763d6108a /lua.h | |
parent | 69906cb56f1fbc20417f0ca973b3e97ef0c4bc5a (diff) | |
download | lua-78c507b7b83a85c106b619ce2050725a80627a25.tar.gz lua-78c507b7b83a85c106b619ce2050725a80627a25.tar.bz2 lua-78c507b7b83a85c106b619ce2050725a80627a25.zip |
`lua_upcall' -> `lua_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.141 2002/06/18 15:19:27 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.142 2002/06/20 20:41:46 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_upcall' */ | 28 | /* option for multiple returns in `lua_pcall' and `lua_call' */ |
29 | #define LUA_MULTRET (-1) | 29 | #define LUA_MULTRET (-1) |
30 | 30 | ||
31 | 31 | ||
@@ -185,7 +185,7 @@ LUA_API int lua_setglobals (lua_State *L, int level); | |||
185 | /* | 185 | /* |
186 | ** `load' and `call' functions (load and run Lua code) | 186 | ** `load' and `call' functions (load and run Lua code) |
187 | */ | 187 | */ |
188 | LUA_API void lua_upcall (lua_State *L, int nargs, int nresults); | 188 | LUA_API void lua_call (lua_State *L, int nargs, int nresults); |
189 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults); | 189 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults); |
190 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, | 190 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data, |
191 | const char *chunkname); | 191 | const char *chunkname); |