diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-21 14:49:21 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-21 14:49:21 -0200 |
commit | 4f5f2fe36732d7809a4c0e0856cb9aca02e9ce24 (patch) | |
tree | cf1a2ef6793c58c4424248b2aff88e457a46a000 /lauxlib.h | |
parent | 01586d539e214f844fc34dd552ff06843ac0c4f9 (diff) | |
download | lua-4f5f2fe36732d7809a4c0e0856cb9aca02e9ce24.tar.gz lua-4f5f2fe36732d7809a4c0e0856cb9aca02e9ce24.tar.bz2 lua-4f5f2fe36732d7809a4c0e0856cb9aca02e9ce24.zip |
new function 'luaL_cpcall'
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.98 2010/01/06 15:14:15 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.99 2010/01/11 16:00:45 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -82,6 +82,8 @@ LUALIB_API const char *(luaL_findtable) (lua_State *L, int idx, | |||
82 | LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, | 82 | LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, |
83 | const char *msg, int level); | 83 | const char *msg, int level); |
84 | 84 | ||
85 | LUALIB_API int luaL_cpcall (lua_State *L, lua_CFunction f, int nargs, | ||
86 | int nresults); | ||
85 | 87 | ||
86 | 88 | ||
87 | /* | 89 | /* |