aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..c19d32a
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,12 @@
+#include "mandel.h"
+
+int main(void)
+{
+ State state;
+
+ if (!state_init(&state))
+ return (1);
+ state_run(&state);
+ state_quit(&state);
+ return EXIT_SUCCESS;
+}