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

Function makemask

third-party/lua-5.1.5/src/ldblib.c:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224
225static int makemask (const char *smask, int count) {
226 int mask = 0;
227 if (strchr(smask, 'c')) mask |= LUA_MASKCALL;
228 if (strchr(smask, 'r')) mask |= LUA_MASKRET;
229 if (strchr(smask, 'l')) mask |= LUA_MASKLINE;
230 if (count > 0) mask |= LUA_MASKCOUNT;
231 return mask;
232}
233
234
235static char *unmakemask (int mask, char *smask) {

Callers 1

db_sethookFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected