From 4d5958f78c5741031f552b26cd0cb1da5fdab18d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sat, 28 Mar 2015 12:15:30 -0300 Subject: add a Coord type and init functions --- include/coordinate.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/coordinate.h (limited to 'include/coordinate.h') 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 -- cgit v1.2.3