diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-06-05 13:59:27 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-06-05 13:59:27 +0000 |
commit | 3639cc2db4cc6e7955e2b0d0be42b4bfcbbdf315 (patch) | |
tree | 33a4c8559309965ed85ae124f747a8456a92e2cc | |
parent | 9fafaf0070629f35562f160968739d40de7fe60e (diff) | |
download | navit-3639cc2db4cc6e7955e2b0d0be42b4bfcbbdf315.tar.gz |
Fix:Core:c++ compatibility
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5129 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | navit/layout.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/navit/layout.h b/navit/layout.h index 41fcbbf79..e8ff4c0a8 100644 --- a/navit/layout.h +++ b/navit/layout.h @@ -23,6 +23,11 @@ #include "item.h" #include "color.h" +#ifdef __cplusplus +extern "C" { +#endif + + struct element { enum { element_point, element_polyline, element_polygon, element_circle, element_text, element_icon, element_image, element_arrows } type; struct color color; @@ -124,4 +129,9 @@ struct image *image_new(struct attr *parent, struct attr **attrs); struct arrows *arrows_new(struct attr *parent, struct attr **attrs); int element_add_attr(struct element *e, struct attr *attr); /* end of prototypes */ + +#ifdef __cplusplus +} +#endif + #endif |