mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- lua: add RC_timeout to keyname table; set lua api version to 1.57
This commit is contained in:
@@ -4,4 +4,4 @@
|
|||||||
* to luainstance.h changes
|
* to luainstance.h changes
|
||||||
*/
|
*/
|
||||||
#define LUA_API_VERSION_MAJOR 1
|
#define LUA_API_VERSION_MAJOR 1
|
||||||
#define LUA_API_VERSION_MINOR 56
|
#define LUA_API_VERSION_MINOR 57
|
||||||
|
@@ -151,6 +151,7 @@ static void set_lua_variables(lua_State *L)
|
|||||||
{ "prog3", CRCInput::RC_prog3 },
|
{ "prog3", CRCInput::RC_prog3 },
|
||||||
{ "prog4", CRCInput::RC_prog4 },
|
{ "prog4", CRCInput::RC_prog4 },
|
||||||
#endif
|
#endif
|
||||||
|
{ "timeout", (lua_Integer)CRCInput::RC_timeout },
|
||||||
/* to check if it is in our range */
|
/* to check if it is in our range */
|
||||||
{ "MaxRC", CRCInput::RC_MaxRC },
|
{ "MaxRC", CRCInput::RC_MaxRC },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
|
Reference in New Issue
Block a user