mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Scripting: enable load() function in lua scripts
can be used to parse user supplied lua
This commit is contained in:
parent
31b9299ad3
commit
65746de112
@ -461,7 +461,7 @@ static const luaL_Reg base_funcs[] = {
|
||||
// {"getmetatable", luaB_getmetatable},
|
||||
{"ipairs", luaB_ipairs},
|
||||
// {"loadfile", luaB_loadfile},
|
||||
// {"load", luaB_load},
|
||||
{"load", luaB_load},
|
||||
#if defined(LUA_COMPAT_LOADSTRING)
|
||||
{"loadstring", luaB_load},
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user