summaryrefslogtreecommitdiff
path: root/include/coordinate.h
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-28 12:15:30 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-28 12:15:30 -0300
commit4d5958f78c5741031f552b26cd0cb1da5fdab18d (patch)
tree789d01c16ee851bdb18db60690a7b490ef166d08 /include/coordinate.h
parent4b40fabf0d76737de4471527bb8e27128f8f1ad4 (diff)
add a Coord type and init functions
Diffstat (limited to 'include/coordinate.h')
-rw-r--r--include/coordinate.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/coordinate.h b/include/coordinate.h
new file mode 100644
index 0000000..52e7cf0
--- /dev/null
+++ b/include/coordinate.h
@@ -0,0 +1,12 @@
+#ifndef _COORD
+#define _COORD
+
+#include "types.h"
+
+/*
+ * This functions will NOT alloc memory for the Coord pointer
+ */
+int coord_init(Coord*, char, char);
+int coord_init_from_str(Coord*, char*);
+
+#endif
nihil fit ex nihilo