summaryrefslogtreecommitdiff
path: root/navit/mapset.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-03-09 13:31:14 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-03-09 13:31:14 +0000
commit51f70dae3a6c4312ed57d09433f117caa9a1fd19 (patch)
tree56a782de15eb76c20c81a04112a914430d3a2e19 /navit/mapset.h
parent72f82b797d9d2bece67ec2f8d65cdf3ad0d91f0d (diff)
downloadnavit-svn-51f70dae3a6c4312ed57d09433f117caa9a1fd19.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.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/navit/mapset.h b/navit/mapset.h
index 9ad79425..6f3be40e 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