power_play/src/proto/pp_ent.h
2025-11-06 22:17:14 -06:00

32 lines
547 B
C

////////////////////////////////////////////////////////////
//~ Key types
#define PP_NilKey ((PP_Key) { 0 })
Struct(PP_EntKey)
{
u64 v;
};
////////////////////////////////////////////////////////////
//~ Property types
Enum(PP_EntProp)
{
PP_EntProp_None,
};
////////////////////////////////////////////////////////////
//~ Ent types
Struct(PP_Ent)
{
i32 _;
} extern Readonly PP_nil_ent;
////////////////////////////////////////////////////////////
//~ Nil helpers
b32 PP_IsKeyNil(PP_EntKey key);
b32 PP_IsEntNil(PP_Ent *ent);