From 083042632dda00fe7bbc13da037cd6e2472e4c7c Mon Sep 17 00:00:00 2001 From: Nik Date: Thu, 16 Jan 2025 19:15:10 +0100 Subject: [PATCH] includes/hex: Hide implementation data of json types --- includes/hex/type/json.pat | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/hex/type/json.pat b/includes/hex/type/json.pat index 3333072b..2fb58381 100644 --- a/includes/hex/type/json.pat +++ b/includes/hex/type/json.pat @@ -13,7 +13,7 @@ namespace auto hex::type { @tparam Size size of the string */ struct Json { - char __data[Size]; + char __data[Size] [[hidden]]; builtin::hex::dec::Json<__data> json [[merge]]; }; @@ -22,7 +22,7 @@ namespace auto hex::type { @tparam Size size of the data */ struct Bson { - u8 __data[Size]; + u8 __data[Size] [[hidden]]; builtin::hex::dec::Bson<__data> bson [[merge]]; }; @@ -31,7 +31,7 @@ namespace auto hex::type { @tparam Size size of the data */ struct Cbor { - u8 __data[Size]; + u8 __data[Size] [[hidden]]; builtin::hex::dec::Cbor<__data> cbor [[merge]]; }; @@ -40,7 +40,7 @@ namespace auto hex::type { @tparam Size size of the data */ struct Bjdata { - u8 __data[Size]; + u8 __data[Size] [[hidden]]; builtin::hex::dec::Bjdata<__data> bjdata [[merge]]; }; @@ -49,7 +49,7 @@ namespace auto hex::type { @tparam Size size of the data */ struct Msgpack { - u8 __data[Size]; + u8 __data[Size] [[hidden]]; builtin::hex::dec::Msgpack<__data> msgpack [[merge]]; }; @@ -58,7 +58,7 @@ namespace auto hex::type { @tparam Size size of the data */ struct Ubjson { - u8 __data[Size]; + u8 __data[Size] [[hidden]]; builtin::hex::dec::Ubjson<__data> ubjson [[merge]]; };