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

Function boolT

lib/lua/src/lcode.c:635–639  ·  view source on GitHub ↗

** Add a true to list of constants and return its index. */

Source from the content-addressed store, hash-verified

633** Add a true to list of constants and return its index.
634*/
635static int boolT (FuncState *fs) {
636 TValue o;
637 setbtvalue(&o);
638 return addk(fs, &o, &o); /* use boolean itself as key */
639}
640
641
642/*

Callers 1

luaK_exp2KFunction · 0.85

Calls 1

addkFunction · 0.85

Tested by

no test coverage detected