summaryrefslogtreecommitdiff
path: root/ui/commands.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-10-22 20:31:31 -0400
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:19:13 -0500
commitc90c13ca4a6e873e6ed31a5a69f343eca03a414f (patch)
treed85a289466e588f2aebe6d75571ed7e364bda01d /ui/commands.h
parentdc3e2a8c3c28b37fae5ee48a9aa880657731d494 (diff)
Warning on defining variables with zero size
Diffstat (limited to 'ui/commands.h')
-rw-r--r--ui/commands.h2
1 files changed, 1 insertions, 1 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,