mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
includes/hex: Hide implementation data of json types
This commit is contained in:
@@ -13,7 +13,7 @@ namespace auto hex::type {
|
|||||||
@tparam Size size of the string
|
@tparam Size size of the string
|
||||||
*/
|
*/
|
||||||
struct Json<auto Size> {
|
struct Json<auto Size> {
|
||||||
char __data[Size];
|
char __data[Size] [[hidden]];
|
||||||
builtin::hex::dec::Json<__data> json [[merge]];
|
builtin::hex::dec::Json<__data> json [[merge]];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ namespace auto hex::type {
|
|||||||
@tparam Size size of the data
|
@tparam Size size of the data
|
||||||
*/
|
*/
|
||||||
struct Bson<auto Size> {
|
struct Bson<auto Size> {
|
||||||
u8 __data[Size];
|
u8 __data[Size] [[hidden]];
|
||||||
builtin::hex::dec::Bson<__data> bson [[merge]];
|
builtin::hex::dec::Bson<__data> bson [[merge]];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ namespace auto hex::type {
|
|||||||
@tparam Size size of the data
|
@tparam Size size of the data
|
||||||
*/
|
*/
|
||||||
struct Cbor<auto Size> {
|
struct Cbor<auto Size> {
|
||||||
u8 __data[Size];
|
u8 __data[Size] [[hidden]];
|
||||||
builtin::hex::dec::Cbor<__data> cbor [[merge]];
|
builtin::hex::dec::Cbor<__data> cbor [[merge]];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ namespace auto hex::type {
|
|||||||
@tparam Size size of the data
|
@tparam Size size of the data
|
||||||
*/
|
*/
|
||||||
struct Bjdata<auto Size> {
|
struct Bjdata<auto Size> {
|
||||||
u8 __data[Size];
|
u8 __data[Size] [[hidden]];
|
||||||
builtin::hex::dec::Bjdata<__data> bjdata [[merge]];
|
builtin::hex::dec::Bjdata<__data> bjdata [[merge]];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ namespace auto hex::type {
|
|||||||
@tparam Size size of the data
|
@tparam Size size of the data
|
||||||
*/
|
*/
|
||||||
struct Msgpack<auto Size> {
|
struct Msgpack<auto Size> {
|
||||||
u8 __data[Size];
|
u8 __data[Size] [[hidden]];
|
||||||
builtin::hex::dec::Msgpack<__data> msgpack [[merge]];
|
builtin::hex::dec::Msgpack<__data> msgpack [[merge]];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ namespace auto hex::type {
|
|||||||
@tparam Size size of the data
|
@tparam Size size of the data
|
||||||
*/
|
*/
|
||||||
struct Ubjson<auto Size> {
|
struct Ubjson<auto Size> {
|
||||||
u8 __data[Size];
|
u8 __data[Size] [[hidden]];
|
||||||
builtin::hex::dec::Ubjson<__data> ubjson [[merge]];
|
builtin::hex::dec::Ubjson<__data> ubjson [[merge]];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user