AP_Scripting: Hide lua IO for now

This commit is contained in:
Michael du Breuil 2018-10-03 13:05:18 -07:00 committed by Andrew Tridgell
parent 33d4e09d60
commit e421599e4f
2 changed files with 3 additions and 1 deletions

View File

@ -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},

View File

@ -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) {
return 1;
}
#endif