mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 20:35:17 +03:00
Switch to CMake
This commit is contained in:
parent
c8358d7e37
commit
88841f63ca
94 changed files with 1553 additions and 956 deletions
|
@ -71,11 +71,6 @@
|
|||
|
||||
#define FIND_FIELD_DESC 0x01
|
||||
|
||||
struct LuaField {
|
||||
uint16_t id;
|
||||
char desc[50];
|
||||
};
|
||||
|
||||
/*luadoc
|
||||
@function getVersion()
|
||||
|
||||
|
@ -255,7 +250,7 @@ void luaGetValueAndPush(int src)
|
|||
/**
|
||||
Return field data for a given field name
|
||||
*/
|
||||
bool luaFindFieldByName(const char * name, LuaField & field, unsigned int flags=0)
|
||||
bool luaFindFieldByName(const char * name, LuaField & field, unsigned int flags)
|
||||
{
|
||||
// TODO better search method (binary lookup)
|
||||
for (unsigned int n=0; n<DIM(luaSingleFields); ++n) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue