Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-11-28 23:08:14 +00:00
commit ed5a4bbb63
2 changed files with 2 additions and 2 deletions

View file

@ -226,7 +226,7 @@ public:
Printf(f_directors, "/* ---------------------------------------------------\n");
Printf(f_directors, " * C++ director class methods\n");
Printf(f_directors, " * --------------------------------------------------- */\n\n");
Printf(f_directors, "#include \"%s\"\n\n", outfile_h);
Printf(f_directors, "#include \"%s\"\n\n", Swig_file_filename(outfile_h));
}
/* If shadow classing is enabled, we're going to change the module name to "_module" */

View file

@ -416,7 +416,7 @@ public:
Printf(f_directors, "/* ---------------------------------------------------\n");
Printf(f_directors, " * C++ director class methods\n");
Printf(f_directors, " * --------------------------------------------------- */\n\n");
Printf(f_directors, "#include \"%s\"\n\n", outfile_h);
Printf(f_directors, "#include \"%s\"\n\n", Swig_file_filename(outfile_h));
}
Printf(f_header,"#define SWIG_init Init_%s\n", feature);