aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lbaselib.c b/lbaselib.c
index ea71660b..47d6793a 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.290 2014/06/30 19:48:08 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.291 2014/07/16 13:56:59 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -344,7 +344,7 @@ static int luaB_load (lua_State *L) {
344/* }====================================================== */ 344/* }====================================================== */
345 345
346 346
347static int dofilecont (lua_State *L, int d1, int d2) { 347static int dofilecont (lua_State *L, int d1, lua_Ctx d2) {
348 (void)d1; (void)d2; /* only to match 'lua_Kfunction' prototype */ 348 (void)d1; (void)d2; /* only to match 'lua_Kfunction' prototype */
349 return lua_gettop(L) - 1; 349 return lua_gettop(L) - 1;
350} 350}
@@ -395,7 +395,7 @@ static int luaB_select (lua_State *L) {
395** 'extra' values (where 'extra' is exactly the number of items to be 395** 'extra' values (where 'extra' is exactly the number of items to be
396** ignored). 396** ignored).
397*/ 397*/
398static int finishpcall (lua_State *L, int status, int extra) { 398static int finishpcall (lua_State *L, int status, lua_Ctx extra) {
399 if (status != LUA_OK && status != LUA_YIELD) { /* error? */ 399 if (status != LUA_OK && status != LUA_YIELD) { /* error? */
400 lua_pushboolean(L, 0); /* first result (false) */ 400 lua_pushboolean(L, 0); /* first result (false) */
401 lua_pushvalue(L, -2); /* error message */ 401 lua_pushvalue(L, -2); /* error message */