aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index d6474335..803b3be2 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.174 2014/06/26 17:25:11 roberto Exp roberto $ 2** $Id: ltests.c,v 2.175 2014/07/16 14:51:36 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -981,7 +981,7 @@ static void pushcode (lua_State *L, int code) {
981 981
982 982
983static int testC (lua_State *L); 983static int testC (lua_State *L);
984static int Cfunck (lua_State *L, int status, int ctx); 984static int Cfunck (lua_State *L, int status, lua_Ctx ctx);
985 985
986/* 986/*
987** arithmetic operation encoding for 'arith' instruction 987** arithmetic operation encoding for 'arith' instruction
@@ -1318,7 +1318,7 @@ static int Cfunc (lua_State *L) {
1318} 1318}
1319 1319
1320 1320
1321static int Cfunck (lua_State *L, int status, int ctx) { 1321static int Cfunck (lua_State *L, int status, lua_Ctx ctx) {
1322 pushcode(L, status); 1322 pushcode(L, status);
1323 lua_setglobal(L, "status"); 1323 lua_setglobal(L, "status");
1324 lua_pushinteger(L, ctx); 1324 lua_pushinteger(L, ctx);