404 |
String DataType::customTypeName(bool demangle) const { |
String DataType::customTypeName(bool demangle) const { |
405 |
if (!demangle) return m_customTypeName; |
if (!demangle) return m_customTypeName; |
406 |
int status; |
int status; |
407 |
const char* result = |
char* result = |
408 |
abi::__cxa_demangle(m_customTypeName.c_str(), 0, 0, &status); |
abi::__cxa_demangle(m_customTypeName.c_str(), 0, 0, &status); |
409 |
return (status == 0) ? result : m_customTypeName; |
String sResult = result; |
410 |
|
free(result); |
411 |
|
return (status == 0) ? sResult : m_customTypeName; |
412 |
} |
} |
413 |
|
|
414 |
// *************** Member *************** |
// *************** Member *************** |