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 837b212d..19624cdd 100644
--- a/type.cpp
+++ b/type.cpp
@@ -414,6 +414,12 @@ uint64_t Type::GetElementCount() const
}
+uint64_t Type::GetOffset() const
+{
+ return BNGetTypeOffset(m_object);
+}
+
+
string Type::GetString() const
{
char* str = BNGetTypeString(m_object);