2021-04-27 04:57:08 -07:00
|
|
|
// This file is not named lua.h as it would collide with firmware/ext/lua/src/lua.h
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
void startLua();
|
2021-04-28 19:41:25 -07:00
|
|
|
|
|
|
|
#if EFI_UNIT_TEST
|
|
|
|
#include "expected.h"
|
|
|
|
|
|
|
|
expected<float> testLuaReturnsNumberOrNil(const char* script);
|
|
|
|
float testLuaReturnsNumber(const char* script);
|
|
|
|
int testLuaReturnsInteger(const char* script);
|
2021-07-16 11:06:26 -07:00
|
|
|
void testLuaExecString(const char* script);
|
2021-04-28 19:41:25 -07:00
|
|
|
#endif
|