diff options
Diffstat (limited to 'cd-tool.cpp')
-rw-r--r-- | cd-tool.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cd-tool.cpp b/cd-tool.cpp index 67f1d2d..888cf9a 100644 --- a/cd-tool.cpp +++ b/cd-tool.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: cd-tool.cpp,v 1.21 2003-12-19 21:17:07 pixel Exp $ */ +/* $Id: cd-tool.cpp,v 1.22 2004-02-29 17:44:42 pixel Exp $ */ #include <getopt.h> #include <stdio.h> @@ -37,6 +37,7 @@ #include "cdabstract.h" #include "isobuilder.h" #include "luacd.h" +#include "luapsx.h" static int myprint(lua_State * _L) { Lua * L = Lua::find(_L); @@ -83,6 +84,7 @@ Lua * startlua(void) { LuaOutput::pushconstruct(L); LuaBuffer::pushconstruct(L); CD_PUSHSTATICS(L); + Luapsx::pushstatics(L); L->push("print"); L->push(myprint); L->settable(LUA_GLOBALSINDEX); |