summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2020-06-17 17:25:55 -0400
committerBrian Potchik <brian@vector35.com>2020-06-17 17:25:55 -0400
commita21af1a6d10074774315c6510d98920fb83338a2 (patch)
tree4b129b4816d04bc59e1fd11f6112a1ac7924661c /binaryninjaapi.h
parent676488bb396f41c4855af97fbe0d996238688399 (diff)
ResetAll settings API resets settings in the active schema by default.
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 95575d41..3d48b6b4 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -5072,7 +5072,7 @@ __attribute__ ((format (printf, 1, 2)))
bool CopyValuesFrom(Ref<Settings> source, BNSettingsScope scope = SettingsAutoScope);
bool Reset(const std::string& key, Ref<BinaryView> view = nullptr, BNSettingsScope scope = SettingsAutoScope);
- bool ResetAll(Ref<BinaryView> view = nullptr, BNSettingsScope scope = SettingsAutoScope);
+ bool ResetAll(Ref<BinaryView> view = nullptr, BNSettingsScope scope = SettingsAutoScope, bool schemaOnly = true);
template<typename T> T Get(const std::string& key, Ref<BinaryView> view = nullptr, BNSettingsScope* scope = nullptr);
std::string GetJson(const std::string& key, Ref<BinaryView> view = nullptr, BNSettingsScope* scope = nullptr);