rusEFI
The most advanced open source ECU
|
Functions | |
static Heap | userHeap (luaUserHeap) |
static void | printLuaMemoryInfo () |
static void * | myAlloc (void *, void *ptr, size_t osize, size_t nsize) |
static int | lua_setTickRate (lua_State *l) |
static void | loadLibraries (LuaHandle &ls) |
static LuaHandle | setupLuaState (lua_Alloc alloc) |
static bool | loadScript (LuaHandle &ls, const char *scriptStr) |
static void | doInteractive (LuaHandle &ls) |
static void | invokeTick (LuaHandle &ls) |
static void | resetLua () |
static bool | runOneLua (lua_Alloc alloc, const char *script) |
void | startLua () |
static LuaHandle | runScript (const char *script) |
expected< float > | testLuaReturnsNumberOrNil (const char *script) |
float | testLuaReturnsNumber (const char *script) |
int | testLuaReturnsInteger (const char *script) |
void | testLuaExecString (const char *script) |
float | strtof_rusefi (const char *str, char **endPtr) |
Variables | |
static bool | withErrorLoading = false |
static char luaUserHeap[LUA_USER_HEAP] SDRAM_OPTIONAL | LUA_HEAD_RAM_SECTION |
static int | recentRxCount = 0 |
static int | totalRxCount = 0 |
static int | rxTime |
static int | luaTickPeriodUs |
static bool | interactivePending = false |
static char | interactiveCmd [100] |
static bool | needsReset = false |
static LuaThread | luaThread |
|
static |
Definition at line 236 of file lua.cpp.
Referenced by runOneLua().
|
static |
Definition at line 269 of file lua.cpp.
Referenced by runOneLua().
|
static |
Definition at line 165 of file lua.cpp.
Referenced by setupLuaState().
Definition at line 213 of file lua.cpp.
Referenced by runOneLua(), runScript(), and testLuaExecString().
|
static |
Definition at line 154 of file lua.cpp.
Referenced by setupLuaState().
Definition at line 129 of file lua.cpp.
Referenced by runScript(), and testLuaExecString().
|
static |
Definition at line 122 of file lua.cpp.
Referenced by loadScript(), and startLua().
|
static |
Definition at line 298 of file lua.cpp.
Referenced by runOneLua().
Definition at line 318 of file lua.cpp.
Definition at line 452 of file lua.cpp.
Referenced by testLuaReturnsInteger(), testLuaReturnsNumber(), and testLuaReturnsNumberOrNil().
|
static |
Definition at line 178 of file lua.cpp.
Referenced by runOneLua(), runScript(), and testLuaExecString().
void startLua | ( | ) |
Definition at line 396 of file lua.cpp.
Referenced by commonEarlyInit().
Definition at line 536 of file lua.cpp.
void testLuaExecString | ( | const char * | script | ) |
int testLuaReturnsInteger | ( | const char * | script | ) |
Definition at line 478 of file lua.cpp.
|
static |
Referenced by myAlloc(), printLuaMemoryInfo(), and startLua().
|
static |
Definition at line 234 of file lua.cpp.
Referenced by doInteractive(), and startLua().
|
static |
Definition at line 233 of file lua.cpp.
Referenced by doInteractive(), and startLua().
|
static |
|
static |
Definition at line 393 of file lua.cpp.
Referenced by startLua().
|
static |
Definition at line 152 of file lua.cpp.
Referenced by lua_setTickRate(), and runOneLua().
|
static |
Definition at line 309 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 35 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 37 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 36 of file lua.cpp.
Referenced by runOneLua(), and startLua().
|
static |
Definition at line 14 of file lua.cpp.
Referenced by loadScript().