chores: update to LUA 5.3 (#4203)

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
Raphael Coeffic
2024-12-24 12:45:06 +10:00
committed by GitHub
co-authored by Peter Feerick philmoz
parent 28b0cb9e71
commit 47cba2211f
87 changed files with 9660 additions and 6926 deletions
@@ -20,6 +20,7 @@
*/
#include "edgetx.h"
#include "lua/lua_states.h"
void onModelCustomScriptMenu(const char *result)
{
@@ -27,6 +27,8 @@
#include "telemetry/telemetry_sensors.h"
#include "translations.h"
#include <cmath>
// Drawing functions used by Lua API
void BitmapBuffer::invertRect(coord_t x, coord_t y, coord_t w, coord_t h,
@@ -25,6 +25,7 @@
#include "tasks.h"
#include "tasks/mixer_task.h"
#include "mixer_scheduler.h"
#include "lua/lua_states.h"
class StatisticsViewPage : public PageTab
{
+1 -1
View File
@@ -58,7 +58,7 @@ static void luaStandaloneInit()
lsStandaloneTrace.script = "lua_newstate(scripts)";
lsStandalone = lua_newstate(tracer_alloc, &lsStandaloneTrace); //we use tracer allocator
#else
lsStandalone = lua_newstate(l_alloc, nullptr); //we use Lua default allocator
lsStandalone = luaL_newstate(); //we use Lua default allocator
#endif
if (lsStandalone) {
// install our panic handler
+1
View File
@@ -20,6 +20,7 @@
*/
#include "edgetx.h"
#include <stdarg.h>
const char * warningText = nullptr;
const char * warningInfoText;