diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-10-22 20:31:31 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-11-10 16:19:13 -0500 |
| commit | c90c13ca4a6e873e6ed31a5a69f343eca03a414f (patch) | |
| tree | d85a289466e588f2aebe6d75571ed7e364bda01d | |
| parent | dc3e2a8c3c28b37fae5ee48a9aa880657731d494 (diff) | |
Warning on defining variables with zero size
| -rw-r--r-- | ui/commands.h | 2 | ||||
| -rw-r--r-- | ui/uitypes.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/commands.h b/ui/commands.h index 2b1ab86c..3530e8ad 100644 --- a/ui/commands.h +++ b/ui/commands.h @@ -16,7 +16,7 @@ bool BINARYNINJAUIAPI inputNameForType( bool BINARYNINJAUIAPI InferArraySize(TypeRef& type, size_t selectionSize); bool BINARYNINJAUIAPI askForNewType(QWidget* parent, BinaryViewRef data, FunctionRef func, const std::string& title, - TypeRef& type, BinaryNinja::QualifiedName& name); + bool allowZeroSize, TypeRef& type, BinaryNinja::QualifiedName& name); bool BINARYNINJAUIAPI inputNewType(QWidget* parent, BinaryViewRef data, FunctionRef currentFunction, uint64_t currentAddr, size_t selectionSize, HighlightTokenState& highlight); bool BINARYNINJAUIAPI createInferredMember(QWidget* parent, BinaryViewRef data, HighlightTokenState& highlight, diff --git a/ui/uitypes.h b/ui/uitypes.h index b47444e4..e0348acd 100644 --- a/ui/uitypes.h +++ b/ui/uitypes.h @@ -6,14 +6,14 @@ // there are changes to the API that affect linking, including new functions, // new types, modifications to existing functions or types, or new versions // of the Qt libraries. -#define BN_CURRENT_UI_ABI_VERSION 6 +#define BN_CURRENT_UI_ABI_VERSION 7 // 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, or a new version of Qt. -#define BN_MINIMUM_UI_ABI_VERSION 5 +#define BN_MINIMUM_UI_ABI_VERSION 7 #ifdef __GNUC__ #ifdef BINARYNINJAUI_LIBRARY |
