From 1aa4f69b51a92dc4f5c9d35925b9977d35650679 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 17 Jul 2014 10:53:37 -0300 Subject: new type 'lua_Ctx' for continuation-function contexts (to allow type to be configurable) --- ltests.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index d6474335..803b3be2 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.174 2014/06/26 17:25:11 roberto Exp roberto $ +** $Id: ltests.c,v 2.175 2014/07/16 14:51:36 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -981,7 +981,7 @@ static void pushcode (lua_State *L, int code) { static int testC (lua_State *L); -static int Cfunck (lua_State *L, int status, int ctx); +static int Cfunck (lua_State *L, int status, lua_Ctx ctx); /* ** arithmetic operation encoding for 'arith' instruction @@ -1318,7 +1318,7 @@ static int Cfunc (lua_State *L) { } -static int Cfunck (lua_State *L, int status, int ctx) { +static int Cfunck (lua_State *L, int status, lua_Ctx ctx) { pushcode(L, status); lua_setglobal(L, "status"); lua_pushinteger(L, ctx); -- cgit v1.2.3-55-g6feb