diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-09 13:31:14 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-09 13:31:14 +0000 |
commit | b5d1aa688649e690faee0c443cd2b26081137475 (patch) | |
tree | 56a782de15eb76c20c81a04112a914430d3a2e19 /navit/mapset.h | |
parent | d625030b734220d7b060fb63fcbc897d205fe0c8 (diff) | |
download | navit-b5d1aa688649e690faee0c443cd2b26081137475.tar.gz |
Fix:Core:Better c++ compatibility
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2987 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/mapset.h')
-rw-r--r-- | navit/mapset.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/navit/mapset.h b/navit/mapset.h index 9ad794255..6f3be40e7 100644 --- a/navit/mapset.h +++ b/navit/mapset.h @@ -20,6 +20,10 @@ #ifndef NAVIT_MAPSET_H #define NAVIT_MAPSET_H +#ifdef __cplusplus +extern "C" { +#endif + /* prototypes */ enum attr_type; struct attr; @@ -39,7 +43,10 @@ struct mapset_handle *mapset_open(struct mapset *ms); struct map *mapset_next(struct mapset_handle *msh, int active); void mapset_close(struct mapset_handle *msh); struct mapset_search *mapset_search_new(struct mapset *ms, struct item *item, struct attr *search_attr, int partial); -struct item *mapset_search_get_item(struct mapset_search *this); -void mapset_search_destroy(struct mapset_search *this); +struct item *mapset_search_get_item(struct mapset_search *this_); +void mapset_search_destroy(struct mapset_search *this_); /* end of prototypes */ +#ifdef __cplusplus +} +#endif #endif |