Finished memory management of multiple marios
This commit is contained in:
@@ -18,7 +18,7 @@ void global_state_bind(struct GlobalState *state)
|
||||
g_state = state;
|
||||
}
|
||||
|
||||
void global_state_destroy(struct GlobalState *state)
|
||||
void global_state_delete(struct GlobalState *state)
|
||||
{
|
||||
free( state );
|
||||
}
|
||||
@@ -53,4 +53,4 @@ extern struct GlobalState *g_state;
|
||||
|
||||
extern struct GlobalState *global_state_create(void);
|
||||
extern void global_state_bind(struct GlobalState *state);
|
||||
extern void global_state_destroy(struct GlobalState *state);
|
||||
extern void global_state_delete(struct GlobalState *state);
|
||||
Reference in New Issue
Block a user