summaryrefslogtreecommitdiff
path: root/src/lua-interface.cpp
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-06 15:04:24 -0800
committerPixel <pixel@nobis-crew.org>2009-11-06 15:04:24 -0800
commit3b025442ab07f1bd4e95bf5e0c467b19726d0dfd (patch)
tree5aac9878d7283e013bc0ec019d56f2a8293138ba /src/lua-interface.cpp
parent2f55d6e1c9c9d7179149f745d80b4cdd180b7249 (diff)
parenta6ad7a6bdf6ca49ec211ee3c429c4f58b59e4f3c (diff)
Merge branch 'master' of ssh+git://git.grumpycoder.net/pub/repo.git/lua-interface
Diffstat (limited to 'src/lua-interface.cpp')
-rw-r--r--src/lua-interface.cpp10
1 files changed, 10 insertions, 0 deletions
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
}