MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaZ_lookahead

Function luaZ_lookahead

Source/Misc/lua/src/lua.c:10165–10175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10163
10164
10165int luaZ_lookahead (ZIO *z) {
10166if (z->n == 0) {
10167if (luaZ_fill(z) == EOZ)
10168return EOZ;
10169else {
10170z->n++; /* luaZ_fill removed first byte; put back it */
10171z->p--;
10172}
10173}
10174return char2int(*z->p);
10175}
10176
10177
10178void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) {

Callers 2

f_parserFunction · 0.85
luaZ_readFunction · 0.85

Calls 1

luaZ_fillFunction · 0.85

Tested by

no test coverage detected