From 87ce2ef8339839dc391f07178f2aac6dc29e1a9d Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Mon, 22 May 2023 16:05:43 -0400 Subject: Add support for changing enumeration member names by clicking 'N' on their token --- binaryninjacore.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 67454a43..4b4f43cc 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -36,7 +36,7 @@ // 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 34 +#define BN_CURRENT_CORE_ABI_VERSION 35 // 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 @@ -5559,7 +5559,7 @@ extern "C" BINARYNINJACOREAPI BNEnumerationMember* BNGetEnumerationMembers(BNEnumeration* e, size_t* count); BINARYNINJACOREAPI BNInstructionTextToken* BNGetEnumerationTokensForValue(BNEnumeration* e, uint64_t value, - uint64_t width, size_t* count); + uint64_t width, size_t* count, BNType* type); BINARYNINJACOREAPI void BNFreeEnumerationMemberList(BNEnumerationMember* members, size_t count); BINARYNINJACOREAPI BNEnumerationMember* BNGetEnumerationBuilderMembers(BNEnumerationBuilder* e, size_t* count); -- cgit v1.3.1