Expand symname special variable in director typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0770ea75f4
commit
de5a78c781
4 changed files with 40 additions and 35 deletions
|
|
@ -4048,7 +4048,7 @@ public:
|
|||
Delete(extra_method_name);
|
||||
}
|
||||
|
||||
/* emit code */
|
||||
/* emit the director method */
|
||||
if (status == SWIG_OK && output_director) {
|
||||
if (!is_void) {
|
||||
Replaceall(w->code, "$null", qualified_return);
|
||||
|
|
@ -4058,6 +4058,7 @@ public:
|
|||
if (!GetFlag(n, "feature:ignore"))
|
||||
Printv(imclass_directors, callback_def, callback_code, NIL);
|
||||
if (!Getattr(n, "defaultargs")) {
|
||||
Replaceall(w->code, "$symname", symname);
|
||||
Wrapper_print(w, f_directors);
|
||||
Printv(f_directors_h, declaration, NIL);
|
||||
Printv(f_directors_h, inline_extra_method, NIL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue