summaryrefslogtreecommitdiff
path: root/cd-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cd-tool.cpp')
-rw-r--r--cd-tool.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/cd-tool.cpp b/cd-tool.cpp
index fb17871..407f242 100644
--- a/cd-tool.cpp
+++ b/cd-tool.cpp
@@ -17,11 +17,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cd-tool.cpp,v 1.47 2005-12-01 13:26:11 pixel Exp $ */
+/* $Id: cd-tool.cpp,v 1.48 2007-07-27 14:29:23 pixel Exp $ */
#define WIP
-#define VERSION "0.5"
+#define VERSION "0.6"
#include <getopt.h>
#include "Input.h"
@@ -181,7 +181,7 @@ enum basecdtool_t {
};
struct lua_functypes_t basecdtool_functions[] = {
- { BASECDTOOL_LOAD, "load", 0, 1, { LUA_STRING | LUA_OBJECT } },
+ { BASECDTOOL_LOAD, "load", 0, 1, { BLUA_STRING | BLUA_OBJECT } },
{ -1, 0, 0, 0, 0 }
};
@@ -236,13 +236,13 @@ enum cdtool_functions_t {
};
struct lua_functypes_t cdtool_functions[] = {
- { CDTOOL_PRINT, "print", 0, 1, { LUA_ANY } },
- { CDTOOL_PRINTN, "printn", 1, 1, { LUA_ANY } },
+ { CDTOOL_PRINT, "print", 0, 1, { BLUA_ANY } },
+ { CDTOOL_PRINTN, "printn", 1, 1, { BLUA_ANY } },
{ CDTOOL_QUIT, "quit", 0, 0, 0 },
{ CDTOOL_EXIT, "exit", 0, 0, 0 },
- { CDTOOL_INFOS, "infos", 0, 1, { LUA_OBJECT } },
- { CDTOOL_PATH, "path", 0, 1, { LUA_OBJECT } },
- { CDTOOL_PRINTDIR, "printdir", 1, 2, { LUA_STRING, LUA_OBJECT } },
+ { CDTOOL_INFOS, "infos", 0, 1, { BLUA_OBJECT } },
+ { CDTOOL_PATH, "path", 0, 1, { BLUA_OBJECT } },
+ { CDTOOL_PRINTDIR, "printdir", 1, 2, { BLUA_STRING, BLUA_OBJECT } },
{ -1, 0, 0, 0, 0 }
};
@@ -431,7 +431,8 @@ Lua * start_full_lua(void) {
void showbanner() {
printm(M_BARE,
-"CD-Tool version " VERSION " (c) 2003-2005 Nicolas \"Pixel\" Noble\n"
+"CD-Tool version " VERSION " (c) 2003-2007 Nicolas \"Pixel\" Noble\n"
+LUA_RELEASE " " LUA_COPYRIGHT "\n"
#ifdef WIP
"Special version Work In Progress, compiled the " __DATE__ " at " __TIME__ "\n"
#endif