MCPcopy Create free account
hub / github.com/F-Stack/f-stack / str_gmatch

Function str_gmatch

freebsd/contrib/openzfs/module/lua/lstrlib.c:679–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677
678
679static int str_gmatch (lua_State *L) {
680 luaL_checkstring(L, 1);
681 luaL_checkstring(L, 2);
682 lua_settop(L, 2);
683 lua_pushinteger(L, 0);
684 lua_pushcclosure(L, gmatch_aux, 3);
685 return 1;
686}
687
688
689static 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