buddhabrot/src/options.h

21 lines
311 B
C
Raw Permalink Normal View History

2020-11-10 17:25:43 +01:00
#ifndef OPTIONS_H
#define OPTIONS_H
#include <stddef.h>
#include <stdio.h>
struct options {
FILE *output;
size_t w;
size_t h;
size_t max_iter;
enum {
BUDDHABROT,
MANDELBROT,
} render;
2020-11-10 17:25:43 +01:00
};
struct options parse_options(int *argc, char **argv[]);
#endif /* !OPTIONS_H */