remove debugging output

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-01-29 21:20:31 +00:00
commit a6adffe4d9

View file

@ -273,18 +273,15 @@ static unsigned int decode_numbers_list(String *numlist) {
static void set_outdir(const String *c_wrapper_file_dir) { static void set_outdir(const String *c_wrapper_file_dir) {
Printf(stdout, "outdir (10): %s\n", outdir);
// Add file delimiter if not present in output directory name // Add file delimiter if not present in output directory name
if (outdir && Len(outdir) != 0) { if (outdir && Len(outdir) != 0) {
const char *outd = Char(outdir); const char *outd = Char(outdir);
if (strcmp(outd + strlen(outd) - strlen(SWIG_FILE_DELIMITER), SWIG_FILE_DELIMITER) != 0) if (strcmp(outd + strlen(outd) - strlen(SWIG_FILE_DELIMITER), SWIG_FILE_DELIMITER) != 0)
Printv(outdir, SWIG_FILE_DELIMITER, NIL); Printv(outdir, SWIG_FILE_DELIMITER, NIL);
} }
Printf(stdout, "outdir (20): %s\n", outdir);
// Use the C wrapper file's directory if the output directory has not been set by user // Use the C wrapper file's directory if the output directory has not been set by user
if (!outdir) if (!outdir)
outdir = NewString(c_wrapper_file_dir); outdir = NewString(c_wrapper_file_dir);
Printf(stdout, "outdir (30): %s\n", outdir);
} }
/* This function sets the name of the configuration file */ /* This function sets the name of the configuration file */
@ -1165,7 +1162,6 @@ int SWIG_main(int argc, char *argv[], Language *l) {
Setattr(top, "inputfile", input_file); Setattr(top, "inputfile", input_file);
char *basename = Swig_file_basename(outcurrentdir ? Swig_file_filename(infile): Char(infile)); char *basename = Swig_file_basename(outcurrentdir ? Swig_file_filename(infile): Char(infile));
Printf(stdout, "basename: %s\n", basename);
if (!outfile_name) { if (!outfile_name) {
if (CPlusPlus || lang->cplus_runtime_mode()) { if (CPlusPlus || lang->cplus_runtime_mode()) {
Setattr(top, "outfile", NewStringf("%s_wrap.%s", basename, cpp_extension)); Setattr(top, "outfile", NewStringf("%s_wrap.%s", basename, cpp_extension));