split declaration and definition of Director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1ac5674df0
commit
69e2c815fd
3 changed files with 203 additions and 173 deletions
|
|
@ -282,14 +282,15 @@ public:
|
|||
Printf(f_directors_h, "#include <string>\n\n");
|
||||
}
|
||||
/* Printf(f_directors_h, "class Swig::Director;\n\n"); */
|
||||
Swig_insert_file("director.swg", f_directors_h);
|
||||
Swig_insert_file("director_h.swg", f_directors_h);
|
||||
Printf(f_directors, "\n\n");
|
||||
Printf(f_directors, "/* ---------------------------------------------------\n");
|
||||
Printf(f_directors, " * C++ director class methods\n");
|
||||
Printf(f_directors, " * --------------------------------------------------- */\n\n");
|
||||
if (outfile_h) {
|
||||
Printf(f_directors, "#include \"%s\"\n\n",Swig_file_filename(outfile_h));
|
||||
}
|
||||
}
|
||||
Swig_insert_file("director.swg", f_directors);
|
||||
}
|
||||
|
||||
/* If shadow classing is enabled, we're going to change the module name to "_module" */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue