MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / prepstate

Function prepstate

lib/lua/src/lstrlib.c:757–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755
756
757static void prepstate (MatchState *ms, lua_State *L,
758 const char *s, size_t ls, const char *p, size_t lp) {
759 ms->L = L;
760 ms->matchdepth = MAXCCALLS;
761 ms->src_init = s;
762 ms->src_end = s + ls;
763 ms->p_end = p + lp;
764}
765
766
767static 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