summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2015-11-02 23:10:07 -0500
committerRusty Wagner <rusty@vector35.com>2015-11-02 23:10:07 -0500
commit0f6f924f277084429029ba69907d7d51770476e4 (patch)
treefbfa9be1f234087a766bc4cb6d93a049c43022e7 /binaryninjaapi.h
parent72dba52eb3d90abae437e4658700167f47a05cf5 (diff)
Don't allow update to be aborted in critical path, and fixes for updating after manually overwriting a build
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index fe4acd30..7127eda8 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1368,9 +1368,9 @@ namespace BinaryNinja
BNUpdateResult UpdateToVersion(const std::string& version);
BNUpdateResult UpdateToVersion(const std::string& version,
- const std::function<void(uint64_t progress, uint64_t total)>& progress);
+ const std::function<bool(uint64_t progress, uint64_t total)>& progress);
BNUpdateResult UpdateToLatestVersion();
- BNUpdateResult UpdateToLatestVersion(const std::function<void(uint64_t progress, uint64_t total)>& progress);
+ BNUpdateResult UpdateToLatestVersion(const std::function<bool(uint64_t progress, uint64_t total)>& progress);
};
struct UpdateVersion