summaryrefslogtreecommitdiff
path: root/vector.h
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-07 00:20:32 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-07 00:20:32 -0800
commit1afce727a1398f601b3cdfb21f6824930d890bc7 (patch)
tree9378934f70a67a82f6e090a750d84745f6236fce /vector.h
parent1b52973f3182e273c6348b0c1e7a69c9d5b401e5 (diff)
Diffstat (limited to 'vector.h')
-rw-r--r--vector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vector.h b/vector.h
index 274cfb8..88cf9c6 100644
--- a/vector.h
+++ b/vector.h
@@ -1,12 +1,13 @@
#ifndef VECTOR
#define VECTOR
+typedef char uint8
typedef struct Vector {
int mx;
int my;
} vector_t;
vector_t init_vector(int mx, int my);
-int vector_equals(vector_t v1, vector_t v2);
+uint8 vector_equals(vector_t v1, vector_t v2);
vector_t vector_add(vector_t v1, vector_t v2);
vector_t vector_sub(vector_t v1, vector_t v2);