summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snake.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/snake.h b/snake.h
index ff47997..c783f9f 100644
--- a/snake.h
+++ b/snake.h
@@ -1,6 +1,9 @@
#include "vector.h"
#ifndef SNAKE
#define SNAKE
+/* used as bool and int */
+typedef char uint8;
+
typedef struct ThreadArg {
int* cancellationToken;
void* returnV;