diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-09-26 00:59:00 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-10-14 16:58:56 -0400 |
| commit | 8747681904104688158650354128100257896501 (patch) | |
| tree | 8edcafc8905eb1b9df6f9b503779fe50e57181dd /type.cpp | |
| parent | 0076048355861138242269604010707434705113 (diff) | |
Expose Type::GetNameTypeString
Diffstat (limited to 'type.cpp')
| -rw-r--r-- | type.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1090,6 +1090,15 @@ Ref<Type> Type::ValueType(const std::string& value) } +std::string Type::GetNameTypeString(BNNameType classFunctionType) +{ + char* value = BNGetNameTypeString(classFunctionType); + std::string result(value); + BNFreeString(value); + return result; +} + + BNIntegerDisplayType Type::GetIntegerTypeDisplayType() const { return BNGetIntegerTypeDisplayType(m_object); |
