MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / isSCint

Function isSCint

xrepo/packages/l/lua/port/lua/src/lcode.c:1246–1248  ·  view source on GitHub ↗

** Check whether expression 'e' is a literal integer in ** proper range to fit in register sC */

Source from the content-addressed store, hash-verified

1244** proper range to fit in register sC
1245*/
1246static int isSCint (expdesc *e) {
1247 return luaK_isKint(e) && fitsC(e->u.ival);
1248}
1249
1250
1251/*

Callers 2

codecommutativeFunction · 0.85
luaK_posfixFunction · 0.85

Calls 2

luaK_isKintFunction · 0.85
fitsCFunction · 0.85

Tested by

no test coverage detected