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

15 lines
247 B
C

Readonly PP_Ent PP_nil_ent = ZI;
////////////////////////////////////////////////////////////
//~ Nil helpers
b32 PP_IsKeyNil(PP_EntKey key)
{
return key.v == 0;
}
b32 PP_IsEntNil(PP_Ent *ent)
{
return ent == 0 || ent == &PP_nil_ent;
}