diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-04 15:29:32 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-04 15:29:32 -0200 |
commit | 0bb8eb51517ef63c65fb986d711c3163ad0be38f (patch) | |
tree | 88c0badaddb58e14a6c4e795ab106f787f81843a /lua.h | |
parent | 38da8c0d7d69da5eed2e98a0871b86113869b858 (diff) | |
download | lua-0bb8eb51517ef63c65fb986d711c3163ad0be38f.tar.gz lua-0bb8eb51517ef63c65fb986d711c3163ad0be38f.tar.bz2 lua-0bb8eb51517ef63c65fb986d711c3163ad0be38f.zip |
new function `lua_cpcall'
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.167 2002/11/25 17:50:14 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.168 2002/11/26 12:53:29 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 |
@@ -186,6 +186,7 @@ LUA_API int lua_setglobals (lua_State *L, int idx); | |||
186 | */ | 186 | */ |
187 | LUA_API void lua_call (lua_State *L, int nargs, int nresults); | 187 | LUA_API void lua_call (lua_State *L, int nargs, int nresults); |
188 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfunc); | 188 | LUA_API int lua_pcall (lua_State *L, int nargs, int nresults, int errfunc); |
189 | LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud); | ||
189 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *dt, | 190 | LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *dt, |
190 | const char *chunkname); | 191 | const char *chunkname); |
191 | 192 | ||