summaryrefslogtreecommitdiff
path: root/type.cpp
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2020-08-24 21:46:36 +0800
committerXusheng <xusheng@vector35.com>2020-09-15 09:29:54 +0800
commit75d05ea710f80a0ca2fdc53b638952a7a97e7ad8 (patch)
treef8fe2205178cd7942a1e6d45c79dda9d748b526f /type.cpp
parent33e31719d37deed58cfe709bf475b80fece8c34a (diff)
display as in linear view
Diffstat (limited to 'type.cpp')
-rw-r--r--type.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/type.cpp b/type.cpp
index 58d23767..05465a62 100644
--- a/type.cpp
+++ b/type.cpp
@@ -831,6 +831,10 @@ Ref<Type> Type::FunctionType(const Confidence<Ref<Type>>& returnValue,
return type;
}
+BNIntegerDisplayType Type::GetIntegerTypeDisplayType() const
+{
+ return BNGetIntegerTypeDisplayType(m_object);
+}
string Type::GenerateAutoTypeId(const string& source, const QualifiedName& name)
{
@@ -1052,6 +1056,10 @@ Confidence<bool> TypeBuilder::IsConst() const
return Confidence<bool>(result.value, result.confidence);
}
+void TypeBuilder::SetIntegerTypeDisplayType(BNIntegerDisplayType displayType)
+{
+ BNSetIntegerTypeDisplayType(m_object, displayType);
+}
Confidence<BNMemberScope> TypeBuilder::GetScope() const
{