moved magic.h to tlibc
This commit is contained in:
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;
|
||||||
Reference in New Issue
Block a user