diff options
| author | 2025-12-20 19:32:13 +0100 | |
|---|---|---|
| committer | 2025-12-20 19:32:13 +0100 | |
| commit | 9721d6ba4036c325a7bdecbf867927566f78e81e (patch) | |
| tree | f122f18c10b1a420585cb4e4127cdf05069d1942 /type.h | |
| parent | e6fbab42185f4fb4e3a3b1e3e93eaa5d3d81b7c7 (diff) | |
some static assertions for packed type sizes
Diffstat (limited to 'type.h')
| -rw-r--r-- | type.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ union type { }; uint bits; }; +static_assert(sizeof(union type) == 4); #define isprimt(t) in_range((t), TYBOOL, TYVOID) #define isintt(t) in_range((t), TYENUM, TYUVLONG) |