From 8e9d933e47250613ac721ea72de8ab23dc44f2e9 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 6 Nov 2009 05:27:55 +0100 Subject: Adding Iup to lua-interface-light, and to the various default modules. --- src/lua-interface.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/lua-interface.cpp') diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp index e85eab1..b697e9c 100644 --- a/src/lua-interface.cpp +++ b/src/lua-interface.cpp @@ -77,6 +77,8 @@ extern void luatask_init(Lua * L) WEAK; extern void luaxml_init(Lua * L) WEAK; extern void luaosmesa_init(Lua * L) WEAK; extern void luacd_init(Lua * L) WEAK; +extern void luapsx_init(Lua * L) WEAK; +extern void luaiup_init(Lua * L) WEAK; } @@ -417,7 +419,11 @@ int sLua_baselua_interface::baselua_interface_proceed_statics(Lua * L, int n, in #endif } else if ((filename == "luacd") && (luacd_init != NULL)) { luacd_init(L); + } else if ((filename == "luapsx") && (luapsx_init != NULL)) { + luapsx_init(L); #endif + } else if ((filename == "luaiup") && (luaiup_init != NULL)) { + luaiup_init(L); #endif } else { LuaLoadPlugin(filename, L); @@ -803,7 +809,11 @@ void autoload_exports(Lua * L) { #endif if (luacd_init) luacd_init(L); + if (luapsx_init) + luapsx_init(L); #endif + if (luaiup_init) + luaiup_init(L); #endif } -- cgit v1.2.3