summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-01-02 16:15:07 -0500
committerPeter LaFosse <peter@vector35.com>2017-01-02 16:15:07 -0500
commit2421d9a6e6e86ff3f37056a68454b7437fb60860 (patch)
tree3b41f418698d458d12c9c0862141d29a57b9bd1f /binaryview.cpp
parente3fa8dcb0e4e6cb97a4b45ba1919048e5eae578d (diff)
Manual merging with dev
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index ff19de18..cc6667c5 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -1156,6 +1156,13 @@ void BinaryView::DefineAutoSymbol(Ref<Symbol> sym)
}
+void BinaryView::DefineAutoSymbolAndVariableOrFunction(Ref<Platform> platform, Ref<Symbol> sym, Ref<Type> type)
+{
+ BNDefineAutoSymbolAndVariableOrFunction(m_object, platform ? platform->GetObject() : nullptr, sym->GetObject(),
+ type ? type->GetObject() : nullptr);
+}
+
+
void BinaryView::UndefineAutoSymbol(Ref<Symbol> sym)
{
BNUndefineAutoSymbol(m_object, sym->GetObject());