Searched refs:smask (Results 1 – 1 of 1) sorted by relevance
276 static int makemask (const char *smask, int count) { in makemask() argument278 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask()279 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask()280 if (strchr(smask, 'l')) mask |= LUA_MASKLINE; in makemask()286 static char *unmakemask (int mask, char *smask) { in unmakemask() argument288 if (mask & LUA_MASKCALL) smask[i++] = 'c'; in unmakemask()289 if (mask & LUA_MASKRET) smask[i++] = 'r'; in unmakemask()290 if (mask & LUA_MASKLINE) smask[i++] = 'l'; in unmakemask()291 smask[i] = '\0'; in unmakemask()292 return smask; in unmakemask()[all …]