summaryrefslogtreecommitdiff
path: root/type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'type.cpp')
-rw-r--r--type.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/type.cpp b/type.cpp
index 6ee0e1cb..8739055e 100644
--- a/type.cpp
+++ b/type.cpp
@@ -793,6 +793,8 @@ string Type::GetTypeAndName(const QualifiedName& nameList, BNTokenEscapingType e
return outName;
}
+
+
string Type::GetStringBeforeName(Platform* platform, BNTokenEscapingType escaping) const
{
char* str = BNGetTypeStringBeforeName(m_object, platform ? platform->GetObject() : nullptr, escaping);
@@ -846,6 +848,13 @@ Ref<Type> Type::Duplicate() const
}
+Type* Type::SetIgnored(bool setIgnored)
+{
+ BNTypeSetIgnored(m_object, setIgnored);
+ return this;
+}
+
+
Ref<Type> Type::VoidType()
{
return new Type(BNCreateVoidType());