MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / luaK_codek

Function luaK_codek

examples/ThirdPartyLibs/lua-5.2.3/src/lcode.c:256–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256int luaK_codek(FuncState *fs, int reg, int k)
257{
258 if (k <= MAXARG_Bx)
259 return luaK_codeABx(fs, OP_LOADK, reg, k);
260 else
261 {
262 int p = luaK_codeABx(fs, OP_LOADKX, reg, 0);
263 codeextraarg(fs, k);
264 return p;
265 }
266}
267
268void luaK_checkstack(FuncState *fs, int n)
269{

Callers 2

fornumFunction · 0.85
discharge2regFunction · 0.85

Calls 2

luaK_codeABxFunction · 0.85
codeextraargFunction · 0.85

Tested by

no test coverage detected