summaryrefslogtreecommitdiff
path: root/cd-tool.cpp
diff options
context:
space:
mode:
authorpixel <pixel>2004-02-29 17:44:42 +0000
committerpixel <pixel>2004-02-29 17:44:42 +0000
commitbbfc93a5b990d1009777de1fbd3efd51508f18ce (patch)
treed1b9a9256427447e707109b3e03d75c641e78177 /cd-tool.cpp
parent852c11ab9698566e3a718b53b7a0527f14707504 (diff)
First crude try of implementing BS encoding
Diffstat (limited to 'cd-tool.cpp')
-rw-r--r--cd-tool.cpp4
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);