summaryrefslogtreecommitdiff
path: root/type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'type.cpp')
-rw-r--r--type.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/type.cpp b/type.cpp
index 5a48d590..af7d6adf 100644
--- a/type.cpp
+++ b/type.cpp
@@ -151,6 +151,12 @@ string Type::GetStringAfterName() const
}
+Ref<Type> Type::Duplicate() const
+{
+ return new Type(BNDuplicateType(m_type));
+}
+
+
Ref<Type> Type::VoidType()
{
return new Type(BNCreateVoidType());