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

Function condjump

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

** Code a "conditional jump", that is, a test or comparison opcode ** followed by a jump. Return jump position. */

Source from the content-addressed store, hash-verified

163** followed by a jump. Return jump position.
164*/
165static int condjump (FuncState *fs, OpCode op, int A, int B, int C) {
166 luaK_codeABC(fs, op, A, B, C);
167 return luaK_jump(fs);
168}
169
170
171/*

Callers 2

jumponcondFunction · 0.85
codecompFunction · 0.85

Calls 2

luaK_codeABCFunction · 0.85
luaK_jumpFunction · 0.85

Tested by

no test coverage detected