mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_Scripting: unify handling of legacy dot vs. colon calls
Push a dummy element on a dot call to make the stack look like the generated bindings, which always expect the colon call (that pushes self as the first argument) and the intended usage pattern. Folds in `arg_offset = 1`. Note that none of these routines care about the first argument as they were fine being called without it.
This commit is contained in:
1 parent
9aaa60bdb5
commit
6dcd0889ca
1 file changed
+64
-73