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

Function prepstate

third-party/lua-5.5.0/src/lstrlib.c:760–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758
759
760static void prepstate (MatchState *ms, lua_State *L,
761 const char *s, size_t ls, const char *p, size_t lp) {
762 ms->L = L;
763 ms->matchdepth = MAXCCALLS;
764 ms->src_init = s;
765 ms->src_end = s + ls;
766 ms->p_end = p + lp;
767}
768
769
770static void reprepstate (MatchState *ms) {

Callers 3

str_find_auxFunction · 0.70
gmatchFunction · 0.70
str_gsubFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected