forgot to save a file earlier when doing spacing changes oof
This commit is contained in:
parent
f2478951a2
commit
5814e512ba
@ -5,8 +5,10 @@
|
|||||||
|
|
||||||
#include "entity/registry.h"
|
#include "entity/registry.h"
|
||||||
|
|
||||||
|
|
||||||
#define MAX_NAME_LENGTH 32
|
#define MAX_NAME_LENGTH 32
|
||||||
|
|
||||||
|
|
||||||
enum error_t entity_registrant_init(
|
enum error_t entity_registrant_init(
|
||||||
struct entity_registrant_t *self,
|
struct entity_registrant_t *self,
|
||||||
char const *name, char tile
|
char const *name, char tile
|
||||||
@ -24,6 +26,7 @@ enum error_t entity_registrant_init(
|
|||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void entity_registrant_free(struct entity_registrant_t *self) {
|
void entity_registrant_free(struct entity_registrant_t *self) {
|
||||||
assert (self != NULL);
|
assert (self != NULL);
|
||||||
|
|
||||||
@ -46,6 +49,7 @@ enum error_t entity_registry_init(struct entity_registry_t *self) {
|
|||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void entity_registry_free(struct entity_registry_t *self) {
|
void entity_registry_free(struct entity_registry_t *self) {
|
||||||
assert(self != NULL);
|
assert(self != NULL);
|
||||||
|
|
||||||
@ -55,6 +59,7 @@ void entity_registry_free(struct entity_registry_t *self) {
|
|||||||
free(self->entities);
|
free(self->entities);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
enum error_t entity_registry_append(
|
enum error_t entity_registry_append(
|
||||||
struct entity_registry_t *self,
|
struct entity_registry_t *self,
|
||||||
struct entity_registrant_t const *registrant
|
struct entity_registrant_t const *registrant
|
||||||
|
Loading…
Reference in New Issue
Block a user