diff options
author | tinloaf <tinloaf@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-10 20:07:53 +0000 |
---|---|---|
committer | tinloaf <tinloaf@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-10 20:07:53 +0000 |
commit | 3419e90421993f98c4968d48fdfbc141d6963f45 (patch) | |
tree | 55ab1b5467cad7f925e8077e3731b1902dcef89d /navit/map.c | |
parent | 99a95bde395fee6095ba2e28da1326778a75378a (diff) | |
download | navit-3419e90421993f98c4968d48fdfbc141d6963f45.tar.gz |
Adding comments to mapset.c
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1451 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map.c')
-rw-r--r-- | navit/map.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/navit/map.c b/navit/map.c index f8253e97e..d8a8e199e 100644 --- a/navit/map.c +++ b/navit/map.c @@ -122,7 +122,7 @@ map_new(struct attr **attrs) * @param this_ The map the attribute should be read from * @param type The type of the attribute to be read * @param attr Pointer to an attrib-structure where the attribute should be written to - * @param iter Not used + * @param iter (NOT IMPLEMENTED) Used to iterate through all attributes of a type. Set this to NULL to get the first attribute, set this to an attr_iter to get the next attribute * @return True if the attribute type was found, false if not */ int @@ -140,7 +140,7 @@ map_get_attr(struct map *this_, enum attr_type type, struct attr *attr, struct a * * @param this_ The map to set the attribute of * @param attr The attribute to set - * @return True %FIXME why? + * @return True if the attr could be set, false otherwise */ int map_set_attr(struct map *this_, struct attr *attr) @@ -198,7 +198,7 @@ map_requires_conversion(struct map *this_) * * @param this_ The map the string to be converted is from * @param str The string to be converted - * @return The converted string + * @return The converted string. It has to be map_convert_free()d after use. */ char * map_convert_string(struct map *this_, char *str) @@ -371,6 +371,9 @@ struct map_search { * have a look into country.c for details. Because of that every map plugin has to accept a country item * to be passed as "superior item". * + * Note: If you change something here, please make shure to also update the documentation of mapset_search_new() + * in mapset.c! + * * @param m The map that should be searched * @param item Specifies a superior item to "search within" (see description) * @param search_attr Attribute specifying what to search for. See description. |