moved magic.h to tlibc
This commit is contained in:
parent
c68e4e87b3
commit
ec164dc4e9
12
include/tlibc/magic.h
Normal file
12
include/tlibc/magic.h
Normal file
@ -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;
|
||||||
Loading…
Reference in New Issue
Block a user