summaryrefslogtreecommitdiff
path: root/type.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2016-01-27 02:20:11 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2016-01-27 02:20:11 -0500
commitbbb74ee011e2b482e1895a513203c11affbac229 (patch)
tree6137967b146d65cdfccf26df66d31ad9ddd5f520 /type.cpp
parentad05dd2072917e2487dcd34dbc249b2a0efac589 (diff)
Implement platform type libraries, though types folder is not yet automatically copied
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());