Fix obvious copy/paste errors in some director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
660b15ea5a
commit
0c7bc36122
2 changed files with 2 additions and 2 deletions
|
|
@ -4070,7 +4070,7 @@ public:
|
|||
Printf(w->def, ") {");
|
||||
|
||||
|
||||
if (Len(director_callback_typedefs) > 0) {
|
||||
if (Len(director_callbacks) > 0) {
|
||||
Printf(f_directors_h, "\nprivate:\n%s", director_callbacks);
|
||||
}
|
||||
Printf(f_directors_h, " void swig_init_callbacks();\n");
|
||||
|
|
|
|||
|
|
@ -2528,7 +2528,7 @@ public:
|
|||
Printf(f_directors_h, "\nprivate:\n");
|
||||
Printf(f_directors_h, " void swig_init_callbacks();\n");
|
||||
Printf(f_directors_h, " void *d_object;\n");
|
||||
if (Len(director_callback_typedefs) > 0) {
|
||||
if (Len(director_callback_pointers) > 0) {
|
||||
Printf(f_directors_h, "%s", director_callback_pointers);
|
||||
}
|
||||
Printf(f_directors_h, "};\n\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue