Marcelo's suggestion for fixing polymorphic methods that return a polymorphic type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e0f9276dc8
commit
6acb22fbfc
2 changed files with 2 additions and 2 deletions
|
|
@ -1222,7 +1222,7 @@ class CSHARP : public Language {
|
|||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
void proxyClassFunctionHandler(Node *n) {
|
||||
SwigType *t = Getattr(n,"type");
|
||||
SwigType *t = Getattr(n,"virtual:type") ? Getattr(n,"virtual:type") : Getattr(n,"type");
|
||||
ParmList *l = Getattr(n,"parms");
|
||||
String *intermediary_function_name = Getattr(n,"imfuncname");
|
||||
String *proxy_function_name = Getattr(n,"proxyfuncname");
|
||||
|
|
|
|||
|
|
@ -1583,7 +1583,7 @@ class JAVA : public Language {
|
|||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
void proxyClassFunctionHandler(Node *n) {
|
||||
SwigType *t = Getattr(n,"type");
|
||||
SwigType *t = Getattr(n,"virtual:type") ? Getattr(n,"virtual:type") : Getattr(n,"type");
|
||||
ParmList *l = Getattr(n,"parms");
|
||||
String *intermediary_function_name = Getattr(n,"imfuncname");
|
||||
String *proxy_function_name = Getattr(n,"proxyfuncname");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue