summaryrefslogtreecommitdiffstats
path: root/source/API/SBType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/API/SBType.cpp')
-rw-r--r--source/API/SBType.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/API/SBType.cpp b/source/API/SBType.cpp
index 3055c27..5ca7ddf 100644
--- a/source/API/SBType.cpp
+++ b/source/API/SBType.cpp
@@ -186,6 +186,14 @@ SBType::GetReferenceType()
}
SBType
+SBType::GetTypedefedType()
+{
+ if (!IsValid())
+ return SBType();
+ return SBType(TypeImplSP(new TypeImpl(m_opaque_sp->GetTypedefedType())));
+}
+
+SBType
SBType::GetDereferencedType()
{
if (!IsValid())
OpenPOWER on IntegriCloud