summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2024-07-25 21:34:55 -0400
committerkat <kat@vector35.com>2024-07-26 01:36:37 -0400
commit85c04eac52abe3aa0c54cd079bf87e64a60b62bd (patch)
treea19146f692a4ebd206b51a0343d903e48d9c3cc9 /binaryninjacore.h
parent326cb30bfa0d8a4bc2e37d56b20b95624e85f3d8 (diff)
Properly check for/log failures and return status on Typelib.write_to_file
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index c9c24723..f0c7a22e 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 70
+#define BN_CURRENT_CORE_ABI_VERSION 71
// 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 69
+#define BN_MINIMUM_CORE_ABI_VERSION 71
#ifdef __GNUC__
#ifdef BINARYNINJACORE_LIBRARY
@@ -5807,7 +5807,7 @@ extern "C"
BINARYNINJACOREAPI BNQualifiedNameAndType* BNGetTypeLibraryNamedObjects(BNTypeLibrary* lib, size_t* count);
BINARYNINJACOREAPI BNQualifiedNameAndType* BNGetTypeLibraryNamedTypes(BNTypeLibrary* lib, size_t* count);
- BINARYNINJACOREAPI void BNWriteTypeLibraryToFile(BNTypeLibrary* lib, const char* path);
+ BINARYNINJACOREAPI bool BNWriteTypeLibraryToFile(BNTypeLibrary* lib, const char* path);
BINARYNINJACOREAPI void BNAddBinaryViewTypeLibrary(BNBinaryView* view, BNTypeLibrary* lib);
BINARYNINJACOREAPI BNTypeLibrary* BNGetBinaryViewTypeLibrary(BNBinaryView* view, const char* name);