moved Guid struct and related helpers to base

This commit is contained in:
Nikita Smith committed 2024-11-07 11:54:25 -08:00
1 parent f807dc4785
commit 214be8c433
21 files changed
+133 -128

No files matched your search

+13
View File
@@ -486,6 +486,19 @@ struct TxtRng
TxtPt max;
};
////////////////////////////////
//~ Globally Unique Ids
typedef struct Guid Guid;
struct Guid
{
U32 data1;
U16 data2;
U16 data3;
U8 data4[8];
};
StaticAssert(sizeof(Guid) == 16, g_guid_size_check);
////////////////////////////////
//~ NOTE(allen): Constants