grid_free_resources

Frees the resources used by the grid without freeing the grid itself.

Syntax

void grid_free_resources(Grid* grid);
Name Type Description
grid Grid* A pointer to the grid.

Example

GRID_DEFINE_H(IntGrid, int_grid, int)
GRID_DEFINE_C(IntGrid, int_grid, int)

IntGrid grid;
int_grid_init(&grid, 12, 12);

// Use the grid...

int_grid_free_resources(&grid);