summaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-08-01 14:33:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-08-01 14:33:08 -0300
commit2be88d50843eafae123c28dfc9750fcf473f28e4 (patch)
tree489cdf215995776425d78665a34dedb09a54c028 /lbaselib.c
parentf5c690b684b8503dce9fe9f9e1a956cabd1c8699 (diff)
downloadlua-2be88d50843eafae123c28dfc9750fcf473f28e4.tar.gz
lua-2be88d50843eafae123c28dfc9750fcf473f28e4.tar.bz2
lua-2be88d50843eafae123c28dfc9750fcf473f28e4.zip
'lua_Ctx' -> 'lua_Kcontext'
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 223c09ec..595f240f 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.293 2014/07/24 19:33:29 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.294 2014/08/01 17:22:57 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*/
@@ -380,7 +380,7 @@ static int luaB_load (lua_State *L) {
380/* }====================================================== */ 380/* }====================================================== */
381 381
382 382
383static int dofilecont (lua_State *L, int d1, lua_Ctx d2) { 383static int dofilecont (lua_State *L, int d1, lua_Kcontext d2) {
384 (void)d1; (void)d2; /* only to match 'lua_Kfunction' prototype */ 384 (void)d1; (void)d2; /* only to match 'lua_Kfunction' prototype */
385 return lua_gettop(L) - 1; 385 return lua_gettop(L) - 1;
386} 386}
@@ -431,7 +431,7 @@ static int luaB_select (lua_State *L) {
431** 'extra' values (where 'extra' is exactly the number of items to be 431** 'extra' values (where 'extra' is exactly the number of items to be
432** ignored). 432** ignored).
433*/ 433*/
434static int finishpcall (lua_State *L, int status, lua_Ctx extra) { 434static int finishpcall (lua_State *L, int status, lua_Kcontext extra) {
435 if (status != LUA_OK && status != LUA_YIELD) { /* error? */ 435 if (status != LUA_OK && status != LUA_YIELD) { /* error? */
436 lua_pushboolean(L, 0); /* first result (false) */ 436 lua_pushboolean(L, 0); /* first result (false) */
437 lua_pushvalue(L, -2); /* error message */ 437 lua_pushvalue(L, -2); /* error message */