diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-07 15:29:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-07 15:29:13 -0300 |
commit | 2a21f6c894e23a201f4028cd222a5790b79018fe (patch) | |
tree | d8e55b99e29ba5f444748608f363cb3ad797efd3 /lbaselib.c | |
parent | 3670db99b65f74d2671bfa9aa37ca7794c32332d (diff) | |
download | lua-2a21f6c894e23a201f4028cd222a5790b79018fe.tar.gz lua-2a21f6c894e23a201f4028cd222a5790b79018fe.tar.bz2 lua-2a21f6c894e23a201f4028cd222a5790b79018fe.zip |
'lua_Kcontext' -> '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.298 2014/09/30 13:53:26 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.299 2014/10/01 11:54:56 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 | */ |
@@ -370,7 +370,7 @@ static int luaB_load (lua_State *L) { | |||
370 | /* }====================================================== */ | 370 | /* }====================================================== */ |
371 | 371 | ||
372 | 372 | ||
373 | static int dofilecont (lua_State *L, int d1, lua_Kcontext d2) { | 373 | static int dofilecont (lua_State *L, int d1, lua_KContext d2) { |
374 | (void)d1; (void)d2; /* only to match 'lua_Kfunction' prototype */ | 374 | (void)d1; (void)d2; /* only to match 'lua_Kfunction' prototype */ |
375 | return lua_gettop(L) - 1; | 375 | return lua_gettop(L) - 1; |
376 | } | 376 | } |
@@ -421,7 +421,7 @@ static int luaB_select (lua_State *L) { | |||
421 | ** 'extra' values (where 'extra' is exactly the number of items to be | 421 | ** 'extra' values (where 'extra' is exactly the number of items to be |
422 | ** ignored). | 422 | ** ignored). |
423 | */ | 423 | */ |
424 | static int finishpcall (lua_State *L, int status, lua_Kcontext extra) { | 424 | static int finishpcall (lua_State *L, int status, lua_KContext extra) { |
425 | if (status != LUA_OK && status != LUA_YIELD) { /* error? */ | 425 | if (status != LUA_OK && status != LUA_YIELD) { /* error? */ |
426 | lua_pushboolean(L, 0); /* first result (false) */ | 426 | lua_pushboolean(L, 0); /* first result (false) */ |
427 | lua_pushvalue(L, -2); /* error message */ | 427 | lua_pushvalue(L, -2); /* error message */ |