MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / luaK_codeABx

Function luaK_codeABx

libraries/AP_Scripting/lua/src/lcode.c:331–336  ·  view source on GitHub ↗

** Format and emit an 'iABx' instruction. */

Source from the content-addressed store, hash-verified

329** Format and emit an 'iABx' instruction.
330*/
331int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) {
332 lua_assert(getOpMode(o) == iABx || getOpMode(o) == iAsBx);
333 lua_assert(getCMode(o) == OpArgN);
334 lua_assert(a <= MAXARG_A && bc <= MAXARG_Bx);
335 return luaK_code(fs, CREATE_ABx(o, a, bc));
336}
337
338
339/*

Callers 2

codeclosureFunction · 0.85
luaK_codekFunction · 0.85

Calls 1

luaK_codeFunction · 0.85

Tested by

no test coverage detected