From 3f38812a5d5c6e568da8036cccda38835d05a33c Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 14 Feb 2024 16:32:56 -0500 Subject: Make Project::Delete{File,Folder} return bool --- binaryninjacore.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 2c010328..92bd8a55 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -37,14 +37,14 @@ // Current ABI version for linking to the core. This is incremented any time // there are changes to the API that affect linking, including new functions, // new types, or modifications to existing functions or types. -#define BN_CURRENT_CORE_ABI_VERSION 52 +#define BN_CURRENT_CORE_ABI_VERSION 53 // Minimum ABI version that is supported for loading of plugins. Plugins that // are linked to an ABI version less than this will not be able to load and // will require rebuilding. The minimum version is increased when there are // incompatible changes that break binary compatibility, such as changes to // existing types or functions. -#define BN_MINIMUM_CORE_ABI_VERSION 52 +#define BN_MINIMUM_CORE_ABI_VERSION 53 #ifdef __GNUC__ #ifdef BINARYNINJACORE_LIBRARY @@ -3405,7 +3405,7 @@ extern "C" BINARYNINJACOREAPI BNProjectFile* BNProjectGetFileByPathOnDisk(BNProject* project, const char* path); BINARYNINJACOREAPI void BNProjectPushFile(BNProject* project, BNProjectFile* file); - BINARYNINJACOREAPI void BNProjectDeleteFile(BNProject* project, BNProjectFile* file); + BINARYNINJACOREAPI bool BNProjectDeleteFile(BNProject* project, BNProjectFile* file); BINARYNINJACOREAPI BNProjectFolder* BNProjectCreateFolderFromPath(BNProject* project, const char* path, BNProjectFolder* parent, const char* description, void* ctxt, bool (*progress)(void* ctxt, size_t progress, size_t total)); @@ -3414,7 +3414,7 @@ extern "C" BINARYNINJACOREAPI BNProjectFolder** BNProjectGetFolders(BNProject* project, size_t* count); BINARYNINJACOREAPI BNProjectFolder* BNProjectGetFolderById(BNProject* project, const char* id); BINARYNINJACOREAPI void BNProjectPushFolder(BNProject* project, BNProjectFolder* folder); - BINARYNINJACOREAPI void BNProjectDeleteFolder(BNProject* project, BNProjectFolder* folder, void* ctxt, + BINARYNINJACOREAPI bool BNProjectDeleteFolder(BNProject* project, BNProjectFolder* folder, void* ctxt, bool (*progress)(void* ctxt, size_t progress, size_t total)); BINARYNINJACOREAPI void BNProjectBeginBulkOperation(BNProject* project); -- cgit v1.3.1