diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-17 10:53:37 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-17 10:53:37 -0300 |
| commit | 1aa4f69b51a92dc4f5c9d35925b9977d35650679 (patch) | |
| tree | d63d6534a52452d1c9f4f0c0e6210f4c0435f769 /lapi.c | |
| parent | 8bb272a3e3d0693a1d587cfa3469153978ae617f (diff) | |
| download | lua-github-1aa4f69b51a92dc4f5c9d35925b9977d35650679.tar.gz | |
new type 'lua_Ctx' for continuation-function contexts (to allow type
to be configurable)
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 2.224 2014/07/15 21:14:49 roberto Exp roberto $ +** $Id: lapi.c,v 2.225 2014/07/15 21:26:50 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -859,7 +859,7 @@ LUA_API void lua_setuservalue (lua_State *L, int idx) { "results from function overflow current stack size") -LUA_API void lua_callk (lua_State *L, int nargs, int nresults, int ctx, +LUA_API void lua_callk (lua_State *L, int nargs, int nresults, lua_Ctx ctx, lua_KFunction k) { StkId func; lua_lock(L); @@ -899,7 +899,7 @@ static void f_call (lua_State *L, void *ud) { LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, - int ctx, lua_KFunction k) { + lua_Ctx ctx, lua_KFunction k) { struct CallS c; int status; ptrdiff_t func; |
