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:
parent
90ab280f90
commit
a6adffe4d9
1 changed files with 0 additions and 4 deletions
|
|
@ -273,18 +273,15 @@ static unsigned int decode_numbers_list(String *numlist) {
|
|||
|
||||
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
|
||||
if (outdir && Len(outdir) != 0) {
|
||||
const char *outd = Char(outdir);
|
||||
if (strcmp(outd + strlen(outd) - strlen(SWIG_FILE_DELIMITER), SWIG_FILE_DELIMITER) != 0)
|
||||
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
|
||||
if (!outdir)
|
||||
outdir = NewString(c_wrapper_file_dir);
|
||||
Printf(stdout, "outdir (30): %s\n", outdir);
|
||||
}
|
||||
|
||||
/* 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);
|
||||
|
||||
char *basename = Swig_file_basename(outcurrentdir ? Swig_file_filename(infile): Char(infile));
|
||||
Printf(stdout, "basename: %s\n", basename);
|
||||
if (!outfile_name) {
|
||||
if (CPlusPlus || lang->cplus_runtime_mode()) {
|
||||
Setattr(top, "outfile", NewStringf("%s_wrap.%s", basename, cpp_extension));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue