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/vehicleprofile.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/vehicleprofile.h')
-rw-r--r-- | navit/vehicleprofile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/vehicleprofile.h b/navit/vehicleprofile.h index 209815ec8..3765af944 100644 --- a/navit/vehicleprofile.h +++ b/navit/vehicleprofile.h @@ -17,6 +17,10 @@ * Boston, MA 02110-1301, USA. */ + +#ifdef __cplusplus +extern "C" { +#endif struct vehicleprofile { int mode; /**< 0 = Auto, 1 = On-Road, 2 = Off-Road */ int flags_forward_mask; /**< Flags mask for moving in positive direction */ @@ -39,3 +43,6 @@ struct roadprofile * vehicleprofile_get_roadprofile(struct vehicleprofile *this_ //! Returns the vehicle profile's name. char * vehicleprofile_get_name(struct vehicleprofile *this_); +#ifdef __cplusplus +} +#endif |