Add memory buffer output option
This commit is contained in:
@@ -25,5 +25,6 @@ typedef enum {
|
||||
void mazemaker_generate_maze(int width, int height, mazegrid_t* result);
|
||||
void mazemaker_free_maze(mazegrid_t* maze);
|
||||
int mazemaker_maze_to_png(mazegrid_t const* maze, char const* filename);
|
||||
int mazemaker_maze_to_png_mem(mazegrid_t const* maze, size_t* len, uint8_t** buf);
|
||||
|
||||
#endif // !def(_MAZEMAKER_H)
|
||||
|
||||
Reference in New Issue
Block a user