ardupilot/libraries/AP_Scripting/lua_boxed_numerics.h
Michael du Breuil 51f79c1b10 AP_Scripting: Add support for UART drivers
Also improves the handling of uint32_t arguments
2020-01-13 20:06:31 -07:00

11 lines
264 B
C

#pragma once
#include "lua/src/lua.hpp"
int new_uint32_t(lua_State *L);
uint32_t *check_uint32_t(lua_State *L, int arg);
uint32_t coerce_to_uint32_t(lua_State *L, int arg);
void load_boxed_numerics(lua_State *L);
void load_boxed_numerics_sandbox(lua_State *L);