MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / makemask

Function makemask

Source/Misc/lua/src/lua.c:11741–11748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11739
11740
11741static int makemask (const char *smask, int count) {
11742int mask = 0;
11743if (strchr(smask, 'c')) mask |= LUA_MASKCALL;
11744if (strchr(smask, 'r')) mask |= LUA_MASKRET;
11745if (strchr(smask, 'l')) mask |= LUA_MASKLINE;
11746if (count > 0) mask |= LUA_MASKCOUNT;
11747return mask;
11748}
11749
11750
11751static char *unmakemask (int mask, char *smask) {

Callers 1

db_sethookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected