MCPcopy Create free account
hub / github.com/axmolengine/axmol / luaK_ret

Function luaK_ret

3rdparty/lua/plainlua/lcode.c:208–216  ·  view source on GitHub ↗

** Code a 'return' instruction */

Source from the content-addressed store, hash-verified

206** Code a 'return' instruction
207*/
208void luaK_ret (FuncState *fs, int first, int nret) {
209 OpCode op;
210 switch (nret) {
211 case 0: op = OP_RETURN0; break;
212 case 1: op = OP_RETURN1; break;
213 default: op = OP_RETURN; break;
214 }
215 luaK_codeABC(fs, op, first, nret + 1, 0);
216}
217
218
219/*

Callers 2

close_funcFunction · 0.85
retstatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected