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

Function isKstr

lib/lua/src/lcode.c:1221–1224  ·  view source on GitHub ↗

** Check whether expression 'e' is a short literal string */

Source from the content-addressed store, hash-verified

1219** Check whether expression 'e' is a short literal string
1220*/
1221static int isKstr (FuncState *fs, expdesc *e) {
1222 return (e->k == VK && !hasjumps(e) && e->u.info <= MAXARG_B &&
1223 ttisshrstring(&fs->f->k[e->u.info]));
1224}
1225
1226/*
1227** Check whether expression 'e' is a literal integer.

Callers 1

luaK_indexedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected