diff --git a/include/tlibc/magic.h b/include/tlibc/magic.h new file mode 100644 index 0000000..d49e1cb --- /dev/null +++ b/include/tlibc/magic.h @@ -0,0 +1,12 @@ +#pragma once +#include "tlibc/std.h" + +typedef union Magic32 { + u32 n; + u8 bytes[4]; +} Magic32; + +typedef union Magic64 { + u64 n; + u8 bytes[8]; +} Magic64;