Browse Source

AP_Scripting: Hide lua IO for now

master
Michael du Breuil 6 years ago committed by Andrew Tridgell
parent
commit
e421599e4f
  1. 2
      libraries/AP_Scripting/lua/src/linit.c
  2. 2
      libraries/AP_Scripting/lua/src/liolib.c

2
libraries/AP_Scripting/lua/src/linit.c

@ -44,7 +44,7 @@ static const luaL_Reg loadedlibs[] = { @@ -44,7 +44,7 @@ static const luaL_Reg loadedlibs[] = {
{LUA_LOADLIBNAME, luaopen_package},
{LUA_COLIBNAME, luaopen_coroutine},
{LUA_TABLIBNAME, luaopen_table},
{LUA_IOLIBNAME, luaopen_io},
// {LUA_IOLIBNAME, luaopen_io},
{LUA_OSLIBNAME, luaopen_os},
{LUA_STRLIBNAME, luaopen_string},
{LUA_MATHLIBNAME, luaopen_math},

2
libraries/AP_Scripting/lua/src/liolib.c

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#if 0
/*
** $Id: liolib.c,v 2.151.1.1 2017/04/19 17:29:57 roberto Exp $
** Standard I/O (and system) library
@ -774,3 +775,4 @@ LUAMOD_API int luaopen_io (lua_State *L) { @@ -774,3 +775,4 @@ LUAMOD_API int luaopen_io (lua_State *L) {
return 1;
}
#endif

Loading…
Cancel
Save