[svn:parrot] r37720 - trunk/src
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Wed Mar 25 17:17:39 UTC 2009
Author: NotFound
Date: Wed Mar 25 17:17:39 2009
New Revision: 37720
URL: https://trac.parrot.org/parrot/changeset/37720
Log:
[debugger] stop using IMCC_warning
Modified:
trunk/src/debug.c
Modified: trunk/src/debug.c
==============================================================================
--- trunk/src/debug.c Wed Mar 25 16:56:38 2009 (r37719)
+++ trunk/src/debug.c Wed Mar 25 17:17:39 2009 (r37720)
@@ -48,11 +48,6 @@
/* Length of command line buffers */
#define DEBUG_CMD_BUFFER_LENGTH 255
-/* Not sure how we want to handle this sort of cross-project header */
-PARROT_EXPORT
-void
-IMCC_warning(PARROT_INTERP, ARGIN(const char *fmt), ...);
-
typedef struct DebuggerCmd DebuggerCmd;
typedef struct DebuggerCmdList DebuggerCmdList;
@@ -1270,9 +1265,9 @@
fd = fopen(command, "r");
if (!fd) {
- IMCC_warning(interp, "script_file: "
- "Error reading script file %s.\n",
- command);
+ Parrot_io_eprintf(interp->pdb->debugger,
+ "Error reading script file %s.\n",
+ command);
return;
}
interp->pdb->script_file = fd;
More information about the parrot-commits
mailing list