From 5ac42cf5766cd60a9c41bdd6045c8ccfd35d62c1 Mon Sep 17 00:00:00 2001 From: reduz Date: Fri, 24 Jun 2022 11:16:37 +0200 Subject: Implement a BitField hint Allows to specify the binder that an enum must be treated as a bitfield. --- core/doc_data.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/doc_data.h') diff --git a/core/doc_data.h b/core/doc_data.h index af20b717d7..6fd01b0c52 100644 --- a/core/doc_data.h +++ b/core/doc_data.h @@ -103,6 +103,7 @@ public: String value; bool is_value_valid = false; String enumeration; + bool is_bitfield = false; String description; bool operator<(const ConstantDoc &p_const) const { return name < p_const.name; @@ -111,6 +112,7 @@ public: struct EnumDoc { String name = "@unnamed_enum"; + bool is_bitfield = false; String description; Vector values; }; -- cgit v1.2.3