minor cleanup

This commit is contained in:
jacob 2024-03-08 17:39:07 -06:00
parent 8f3aaba794
commit c78635f499
3 changed files with 3 additions and 3 deletions

View File

@ -242,7 +242,7 @@ extern "C" {
/* Expects struct body after invocation. E.g. DEFINE_NIL_STRUCT(struct a, a_nil) { 0 } */
#define DEFINE_NIL_STRUCT(type, function_name) \
type READ_ONLY CAT(__nil_struct__, function_name)
type READ_ONLY CAT(__nil_struct__, function_name) =
#if 0
/* ========================== *

View File

@ -1,6 +1,6 @@
#include "entity.h"
DEFINE_NIL_STRUCT(struct entity, entity_nil) = { 0 };
DEFINE_NIL_STRUCT(struct entity, entity_nil) { 0 };
/* ========================== *
* Prop

View File

@ -96,7 +96,7 @@ struct entity {
f32 camera_zoom;
};
DECLARE_NIL_STRUCT(struct entity, entity_nil)
DECLARE_NIL_STRUCT(struct entity, entity_nil);
/* Prop */