mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: reuse uint32 dev operation for idiv
This commit is contained in:
parent
2c8a11885f
commit
df6a5f0e0d
|
@ -541,7 +541,7 @@ userdata uint32_t manual_operator __sub uint32_t___sub
|
|||
userdata uint32_t manual_operator __mul uint32_t___mul
|
||||
userdata uint32_t manual_operator __div uint32_t___div
|
||||
userdata uint32_t manual_operator __mod uint32_t___mod
|
||||
userdata uint32_t manual_operator __idiv uint32_t___idiv
|
||||
userdata uint32_t manual_operator __idiv uint32_t___div
|
||||
userdata uint32_t manual_operator __band uint32_t___band
|
||||
userdata uint32_t manual_operator __bor uint32_t___bor
|
||||
userdata uint32_t manual_operator __bxor uint32_t___bxor
|
||||
|
|
|
@ -65,7 +65,6 @@ UINT32_T_BOX_OP(sub, -)
|
|||
UINT32_T_BOX_OP(mul, *)
|
||||
UINT32_T_BOX_OP(div, /)
|
||||
UINT32_T_BOX_OP(mod, %)
|
||||
UINT32_T_BOX_OP(idiv, /)
|
||||
UINT32_T_BOX_OP(band, &)
|
||||
UINT32_T_BOX_OP(bor, |)
|
||||
UINT32_T_BOX_OP(bxor, ^)
|
||||
|
|
|
@ -10,7 +10,6 @@ int uint32_t___sub(lua_State *L);
|
|||
int uint32_t___mul(lua_State *L);
|
||||
int uint32_t___div(lua_State *L);
|
||||
int uint32_t___mod(lua_State *L);
|
||||
int uint32_t___idiv(lua_State *L);
|
||||
int uint32_t___band(lua_State *L);
|
||||
int uint32_t___bor(lua_State *L);
|
||||
int uint32_t___bxor(lua_State *L);
|
||||
|
|
Loading…
Reference in New Issue