summaryrefslogtreecommitdiff
path: root/maze/data_structures.h
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2023-09-23 12:53:46 -0500
committerMichael Hunteman <michael@huntm.net>2023-10-21 21:48:03 -0500
commit9891f38ddcca971fa21ab61e7a70832c8c877b0a (patch)
tree1e820435b42c5c8187bb6d17b3ff1c204c933c1a /maze/data_structures.h
Initial commitHEADmaster
Diffstat (limited to 'maze/data_structures.h')
-rw-r--r--maze/data_structures.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/maze/data_structures.h b/maze/data_structures.h
new file mode 100644
index 0000000..e856aaa
--- /dev/null
+++ b/maze/data_structures.h
@@ -0,0 +1,16 @@
+#ifndef DATA_STRUCTURES_H
+#define DATA_STRUCTURES_H
+
+struct point {
+ char c;
+ int x;
+ int y;
+ struct point *next;
+};
+
+extern struct point *head;
+
+void push(int x, int y, char c);
+char pop();
+
+#endif