diff options
| author | Brian Potchik <brian@vector35.com> | 2024-09-30 18:42:03 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2024-09-30 18:42:03 -0400 |
| commit | c8bef7267b0ec3b36167b679263bbfd4834a5b88 (patch) | |
| tree | 0e65592597f8b76a5f9fa5b74e1ed3709554058f /settings.cpp | |
| parent | 2e272f7efffb61eec2f54a740a9deabc4829c97d (diff) | |
Use title for generation of function analysis actions.
Diffstat (limited to 'settings.cpp')
| -rw-r--r-- | settings.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/settings.cpp b/settings.cpp index 549c7b6a..4d3f5acd 100644 --- a/settings.cpp +++ b/settings.cpp @@ -79,6 +79,16 @@ vector<string> Settings::Keys() template <> +string Settings::QueryProperty<string>(const string& key, const string& property) +{ + char* outBuffer = BNSettingsQueryPropertyString(m_object, key.c_str(), property.c_str()); + string result(outBuffer); + BNFreeString(outBuffer); + return result; +} + + +template <> vector<string> Settings::QueryProperty<vector<string>>(const string& key, const string& property) { size_t size = 0; |
