diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-08-01 14:33:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-08-01 14:33:08 -0300 |
commit | 2be88d50843eafae123c28dfc9750fcf473f28e4 (patch) | |
tree | 489cdf215995776425d78665a34dedb09a54c028 /lbaselib.c | |
parent | f5c690b684b8503dce9fe9f9e1a956cabd1c8699 (diff) | |
download | lua-2be88d50843eafae123c28dfc9750fcf473f28e4.tar.gz lua-2be88d50843eafae123c28dfc9750fcf473f28e4.tar.bz2 lua-2be88d50843eafae123c28dfc9750fcf473f28e4.zip |
'lua_Ctx' -> 'lua_Kcontext'
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
383 | static int dofilecont (lua_State *L, int d1, lua_Ctx d2) { | 383 | static 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 | */ |
434 | static int finishpcall (lua_State *L, int status, lua_Ctx extra) { | 434 | static 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 */ |