summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index 0f70e939..9123c19e 100644
--- a/function.cpp
+++ b/function.cpp
@@ -699,6 +699,12 @@ Ref<HighLevelILFunction> Function::GetHighLevelILIfAvailable() const
}
+Ref<LanguageRepresentationFunction> Function::GetLanguageRepresentation() const
+{
+ return new LanguageRepresentationFunction(BNGetFunctionLanguageRepresentation(m_object));
+}
+
+
Ref<Type> Function::GetType() const
{
return new Type(BNGetFunctionType(m_object));