From ed820d2ab81470b3e5ac543d75211e87ff3bc738 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Wed, 28 Sep 2022 14:47:48 +0800 Subject: Deprecate unused BinaryViewTypeArchitectureConstant API --- architecture.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'architecture.cpp') diff --git a/architecture.cpp b/architecture.cpp index b1acceb5..828aa0ff 100644 --- a/architecture.cpp +++ b/architecture.cpp @@ -1257,19 +1257,19 @@ Ref Architecture::GetRelocationHandler(const std::string& vie bool Architecture::IsBinaryViewTypeConstantDefined(const string& type, const string& name) { - return BNIsBinaryViewTypeArchitectureConstantDefined(m_object, type.c_str(), name.c_str()); + return false; } uint64_t Architecture::GetBinaryViewTypeConstant(const string& type, const string& name, uint64_t defaultValue) { - return BNGetBinaryViewTypeArchitectureConstant(m_object, type.c_str(), name.c_str(), defaultValue); + return 0; } void Architecture::SetBinaryViewTypeConstant(const string& type, const string& name, uint64_t value) { - BNSetBinaryViewTypeArchitectureConstant(m_object, type.c_str(), name.c_str(), value); + } -- cgit v1.3.1