1 #include "map/point.h" 2 3 static map_point last = {0, 0}; 4 map_point_store_result(int x,int y,map_point * point)5void map_point_store_result(int x, int y, map_point *point) 6 { 7 point->x = last.x = x; 8 point->y = last.y = y; 9 } 10 map_point_get_last_result(map_point * point)11void map_point_get_last_result(map_point *point) 12 { 13 point->x = last.x; 14 point->y = last.y; 15 } 16