54 for (lib = loadedlibs; lib->
func; lib++) {
60 for (lib = preloadedlibs; lib->
func; lib++) {
LUALIB_API void luaL_openlibs(lua_State *L)
LUALIB_API void luaL_requiref(lua_State *L, const char *modname, lua_CFunction openf, int glb)
#define lua_pushcfunction(L, f)
LUAMOD_API int luaopen_debug(lua_State *L)
LUALIB_API int luaL_getsubtable(lua_State *L, int idx, const char *fname)
LUAMOD_API int luaopen_math(lua_State *L)
LUAMOD_API int luaopen_base(lua_State *L)
static const luaL_Reg loadedlibs[]
LUAMOD_API int luaopen_coroutine(lua_State *L)
LUAMOD_API int luaopen_os(lua_State *L)
LUAMOD_API int luaopen_io(lua_State *L)
LUAMOD_API int luaopen_string(lua_State *L)
LUAMOD_API int luaopen_table(lua_State *L)
LUAMOD_API int luaopen_package(lua_State *L)
static const luaL_Reg preloadedlibs[]
#define LUA_REGISTRYINDEX
LUAMOD_API int luaopen_bit32(lua_State *L)
LUA_API void lua_setfield(lua_State *L, int idx, const char *k)