7ccc8e2e2a2a62008da769b26192ba1e7183b679
[navit-package] / src / coord.c
1 #include "coord.h"
2 /**
3  * @defgroup coord Coordinate handling functions
4  * @{
5  */
6
7 /**
8  * Get a coordinate
9  *
10  * @param p Pointer to the coordinate
11  * @returns the coordinate
12  */
13
14 struct coord *
15 coord_get(unsigned char **p)
16 {
17         struct coord *ret=(struct coord *)(*p);
18         *p += sizeof(*ret);
19         return ret;
20 }
21
22 /** @} */