From bac2b01e488e6a58dd3d16d6148dc5bea16be162 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 14 Sep 2022 16:31:04 -0400 Subject: Optimized api for getting the title of the last undo entry --- binaryninjacore.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 0087c9bf..fcd7deb4 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -3192,6 +3192,8 @@ extern "C" BINARYNINJACOREAPI BNUndoEntry* BNGetRedoEntries(BNFileMetadata* file, size_t* count); BINARYNINJACOREAPI BNUndoEntry BNGetLastUndoEntry(BNFileMetadata* file); BINARYNINJACOREAPI BNUndoEntry BNGetLastRedoEntry(BNFileMetadata* file); + BINARYNINJACOREAPI char* BNGetLastUndoEntryTitle(BNFileMetadata* file); + BINARYNINJACOREAPI char* BNGetLastRedoEntryTitle(BNFileMetadata* file); BINARYNINJACOREAPI void BNFreeUndoEntries(BNUndoEntry* entries, size_t count); BINARYNINJACOREAPI void BNClearUndoEntries(BNFileMetadata* file); -- cgit v1.3.1