Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArduPilot/ardupilot
/ luaK_reserveregs
Function
luaK_reserveregs
libraries/AP_Scripting/lua/src/lcode.c:382–385 ·
view source on GitHub ↗
** Reserve 'n' registers in register stack */
Source
from the content-addressed store, hash-verified
380
** Reserve
'n'
registers in register stack
381
*/
382
void luaK_reserveregs (FuncState *fs, int n) {
383
luaK_checkstack(fs, n);
384
fs->freereg += n;
385
}
386
387
388
/*
Callers
9
adjust_assign
Function · 0.85
parlist
Function · 0.85
check_conflict
Function · 0.85
forbody
Function · 0.85
fornum
Function · 0.85
luaK_setreturns
Function · 0.85
discharge2anyreg
Function · 0.85
luaK_exp2nextreg
Function · 0.85
luaK_self
Function · 0.85
Calls
1
luaK_checkstack
Function · 0.85
Tested by
no test coverage detected