add c++ stuff
authorraster <raster>
Sat, 3 Sep 2005 01:38:45 +0000 (01:38 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 3 Sep 2005 01:38:45 +0000 (01:38 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@16475 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Emotion.h

index e8de3c1..f76a686 100644 (file)
@@ -53,6 +53,10 @@ typedef enum _Emotion_Meta_Info Emotion_Meta_Info;
 #define EMOTION_CHANNEL_AUTO -1
 #define EMOTION_CHANNEL_DEFAULT 0
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+   
 /* api calls available */
 Evas_Object *emotion_object_add                   (Evas *evas);
 Evas_Bool    emotion_object_init                  (Evas_Object *obj);
@@ -107,4 +111,8 @@ int          emotion_object_spu_button_count_get  (Evas_Object *obj);
 int          emotion_object_spu_button_get        (Evas_Object *obj);
 const char  *emotion_object_meta_info_get         (Evas_Object *obj, Emotion_Meta_Info meta);
 
+#ifdef __cplusplus
+}
+#endif
+      
 #endif