summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-07-01 10:02:12 -0400
committerPeter LaFosse <peter@vector35.com>2017-07-01 10:02:27 -0400
commitc407679358f035aa9e16e3bb740f8e6d9a73d138 (patch)
treeb955c15b54421b3306b6e04e4500bfd9507f30ff /binaryninjaapi.h
parentb3a31b101cf7283d753c71e211c78f5f0c1ee54c (diff)
Refactor of metadata api names. modify how QueryMetadata works
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 426095b0..13ca3446 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1128,7 +1128,7 @@ namespace BinaryNinja
std::vector<BNAddressRange> GetAllocatedRanges();
void StoreMetadata(const std::string& key, Metadata* inValue);
- bool QueryMetadata(const std::string& key, Metadata** outValue);
+ std::unique_ptr<Metadata> QueryMetadata(const std::string& key);
std::string GetStringMetadata(const std::string& key);
std::vector<uint8_t> GetRawMetadata(const std::string& key);
uint64_t GetUIntMetadata(const std::string& key);