diff options
author | mvglasow <michael -at- vonglasow.com> | 2020-12-19 14:50:34 +0200 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2020-12-19 14:55:06 +0200 |
commit | a1d4b2d311c01d6594a871ede13943da6293fac2 (patch) | |
tree | bc8a3b60ac4ba6e19b4299a9ac7de52791201325 /navit/route.c | |
parent | d235b2374756a3f34c067b3a1deb564511638052 (diff) | |
download | navit-a1d4b2d311c01d6594a871ede13943da6293fac2.tar.gz |
Refactor:core:Fix documentation for route_graph_build()
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/route.c')
-rw-r--r-- | navit/route.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/navit/route.c b/navit/route.c index 273e50aeb..8e2ef91ec 100644 --- a/navit/route.c +++ b/navit/route.c @@ -3158,17 +3158,12 @@ static void route_graph_build_idle(struct route_graph *rg, struct vehicleprofile * add any routing information to the route graph - this has to be done via the route_graph_flood() * function. * - * The function does not create a graph covering the whole map, but only covering the rectangle - * between c1 and c2. - * * @param ms The mapset to build the route graph from - * @param c The coordinates of the destination or next waypoint - * @param c1 Corner 1 of the rectangle to use from the map - * @param c2 Corner 2 of the rectangle to use from the map + * @param c An array of coordinates for the current position, waypoints (if any) and destination + * @param count Number of coordinates in `c` * @param done_cb The callback which will be called when graph is complete * @return The new route graph. */ -// FIXME documentation does not match argument list static struct route_graph *route_graph_build(struct mapset *ms, struct coord *c, int count, struct callback *done_cb, int async, struct vehicleprofile *profile) { |