MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / gmatch

Function gmatch

third-party/lua-5.2.4/src/lstrlib.c:668–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666
667
668static int gmatch (lua_State *L) {
669 luaL_checkstring(L, 1);
670 luaL_checkstring(L, 2);
671 lua_settop(L, 2);
672 lua_pushinteger(L, 0);
673 lua_pushcclosure(L, gmatch_aux, 3);
674 return 1;
675}
676
677
678static void add_s (MatchState *ms, luaL_Buffer *b, const char *s,

Callers

nothing calls this directly

Calls 3

lua_settopFunction · 0.70
lua_pushintegerFunction · 0.70
lua_pushcclosureFunction · 0.70

Tested by

no test coverage detected