summaryrefslogtreecommitdiff
path: root/modules/codec
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-03-08 21:54:31 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-03-08 21:54:31 +0100
commitf8c6ec7a18b33deba530b15a5779556233e8057b (patch)
tree1bd621e03ac7551316212d5a340d9e372a8be704 /modules/codec
parent2c624e9ea3d43d63ee487ccb99f63877f4109026 (diff)
codec,tools: Working on better c iface generation
Diffstat (limited to 'modules/codec')
-rw-r--r--modules/codec/c++/schema.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp
index 1feb951..5348cfe 100644
--- a/modules/codec/c++/schema.hpp
+++ b/modules/codec/c++/schema.hpp
@@ -8,6 +8,9 @@ namespace schema {
// NOLINTBEGIN
template <typename T, string_literal Literal> struct Member {
static constexpr string_literal name = "Member";
+
+ using ValueType = T;
+ static constexpr string_literal KeyLiteral = Literal;
};
template <typename... T> struct Struct {