add __packed_ws_be__

This commit is contained in:
Martin Michelsen
2026-04-26 17:55:39 -07:00
parent 80391df8b7
commit 826eb88e2e
15 changed files with 41 additions and 100 deletions
+5
View File
@@ -23,6 +23,11 @@
__attribute__((packed)); \
check_struct_size(StructT, Size)
#define __packed_ws_be__(StructT, Size) \
__attribute__((packed)); \
check_struct_size(StructT<false>, Size); \
check_struct_size(StructT<true>, Size)
// Conversion functions
std::string encode_utf8_char(uint32_t ch);