Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-panda committed Aug 1, 2023
1 parent e29ccca commit f918dbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Converters.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3205,7 +3205,10 @@ CPyCppyy::Converter* CPyCppyy::CreateConverter(Cppyy::TCppType_t type, cdims_t d
bool isConst = strncmp(resolvedTypeStr.c_str(), "const", 5) == 0;
const std::string& cpd = TypeManip::compound(resolvedTypeStr);
Cppyy::TCppType_t realType = Cppyy::ResolveType(Cppyy::GetRealType(type));
std::string realTypeStrOld = TypeManip::clean_type(resolvedTypeStr, false, true);
std::string realTypeStr = Cppyy::GetTypeAsString(realType);
if (realTypeStrOld != realTypeStr)
printf("------------- %s = %s -------------", realTypeStrOld.c_str(), realTypeStr.c_str());
std::string realUnresolvedTypeStr = TypeManip::clean_type(fullType, false, true);

// accept unqualified type (as python does not know about qualifiers)
Expand Down

0 comments on commit f918dbf

Please sign in to comment.