MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isKstr

Function isKstr

extlibs/lua/src/lcode.c:1203–1206  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1201** Check whether expression 'e' is a small literal string
1202*/
1203static int isKstr (FuncState *fs, expdesc *e) {
1204 return (e->k == VK && !hasjumps(e) && e->u.info <= MAXARG_B &&
1205 ttisshrstring(&fs->f->k[e->u.info]));
1206}
1207
1208/*
1209** Check whether expression 'e' is a literal integer.

Callers 1

luaK_indexedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected