MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / prepstate

Function prepstate

extlibs/lua/src/lstrlib.c:754–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

752
753
754static void prepstate (MatchState *ms, lua_State *L,
755 const char *s, size_t ls, const char *p, size_t lp) {
756 ms->L = L;
757 ms->matchdepth = MAXCCALLS;
758 ms->src_init = s;
759 ms->src_end = s + ls;
760 ms->p_end = p + lp;
761}
762
763
764static void reprepstate (MatchState *ms) {

Callers 3

str_find_auxFunction · 0.85
gmatchFunction · 0.85
str_gsubFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected