Fix $resolvedType expansion for references to pointers

Use the base type, not the full type, to deal with the special case of
references to pointers which are blacklisted by classLookup(), for some
reason, but can be represented at C wrappers level.
This commit is contained in:
Vadim Zeitlin 2021-12-07 23:33:31 +01:00
commit 184e620151

View file

@ -1582,7 +1582,7 @@ public:
// Special case, just leave it unchanged.
typestr = NewString("SwigObj");
} else {
typestr = getClassProxyName(classnametype);
typestr = getClassProxyName(btype);
if (!typestr) {
if (SwigType_isbuiltin(btype)) {
// This should work just as well in C without any changes.