Fix handling of typedef'd function pointers for Go
Add equivalent runtime tests for Python and Java
This commit is contained in:
parent
72ba741d1c
commit
dcc5911839
6 changed files with 101 additions and 1 deletions
|
|
@ -6241,7 +6241,7 @@ private:
|
|||
Setattr(undefined_enum_types, t, ret);
|
||||
Delete(tt);
|
||||
}
|
||||
} else if (SwigType_isfunctionpointer(type) || SwigType_isfunction(type)) {
|
||||
} else if (SwigType_isfunctionpointer(t) || SwigType_isfunction(t)) {
|
||||
ret = NewString("_swig_fnptr");
|
||||
} else if (SwigType_ismemberpointer(t)) {
|
||||
ret = NewString("_swig_memberptr");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue