diff options
author | Jan Jezabek <jezabek@poczta.onet.pl> | 2009-06-21 22:59:34 +0000 |
---|---|---|
committer | Jan Jezabek <jezabek@poczta.onet.pl> | 2009-06-21 22:59:34 +0000 |
commit | cbf03ff6a3e453465271b3774693ae03aa14783f (patch) | |
tree | 2930b36e8a64bc66bffc36b2e4c3cd32fb6356a5 | |
parent | 948c2c9ee40a69a19accdfb389b5b5d15e09541d (diff) | |
download | swig-cbf03ff6a3e453465271b3774693ae03aa14783f.tar.gz |
Fix compilation (new parameter in NewFile).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-jezabek@11294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r-- | Source/Modules/com.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Modules/com.cxx b/Source/Modules/com.cxx index 88653cddb..74d91b0b3 100644 --- a/Source/Modules/com.cxx +++ b/Source/Modules/com.cxx @@ -364,7 +364,7 @@ public: SWIG_exit(EXIT_FAILURE); } - f_runtime = NewFile(outfile, "w"); + f_runtime = NewFile(outfile, "w", SWIG_output_files()); if (!f_runtime) { FileErrorDisplay(outfile); SWIG_exit(EXIT_FAILURE); @@ -474,7 +474,7 @@ public: /* Generate DEF file */ if (deffile_flag) { String *filen = NewStringf("%s%s.def", SWIG_output_directory(), module_class_name); - f_deffile = NewFile(filen, "w"); + f_deffile = NewFile(filen, "w", SWIG_output_files()); if (!f_deffile) { FileErrorDisplay(filen); SWIG_exit(EXIT_FAILURE); @@ -495,7 +495,7 @@ public: if (rcfile_flag) { String *filen = NewStringf("%s%s.rc", SWIG_output_directory(), module_class_name); - f_rcfile = NewFile(filen, "w"); + f_rcfile = NewFile(filen, "w", SWIG_output_files()); if (!f_rcfile) { FileErrorDisplay(filen); SWIG_exit(EXIT_FAILURE); @@ -510,7 +510,7 @@ public: /* Generate the IDL file containing the module class and proxy classes */ { String *filen = NewStringf("%s%s.idl", SWIG_output_directory(), module_class_name); - f_module = NewFile(filen, "w"); + f_module = NewFile(filen, "w", SWIG_output_files()); if (!f_module) { FileErrorDisplay(filen); SWIG_exit(EXIT_FAILURE); |