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

Function isSCint

lib/lua/src/lcode.c:1247–1249  ·  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

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

Callers 2

codecommutativeFunction · 0.85
luaK_posfixFunction · 0.85

Calls 2

isKintFunction · 0.85
fitsCFunction · 0.85

Tested by

no test coverage detected