diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2016-01-27 02:20:11 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2016-01-27 02:20:11 -0500 |
| commit | bbb74ee011e2b482e1895a513203c11affbac229 (patch) | |
| tree | 6137967b146d65cdfccf26df66d31ad9ddd5f520 /type.cpp | |
| parent | ad05dd2072917e2487dcd34dbc249b2a0efac589 (diff) | |
Implement platform type libraries, though types folder is not yet automatically copied
Diffstat (limited to 'type.cpp')
| -rw-r--r-- | type.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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()); |
