From: raster Date: Sat, 29 May 2010 06:37:19 +0000 (+0000) Subject: move evas version inside extern c. X-Git-Tag: accepted/2.0/20130306.225542~242^2~1847 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e690b89b8368608f9f68a056eb16482b1914ef7;p=profile%2Fivi%2Fevas.git move evas version inside extern c. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@49274 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/Evas.h b/src/lib/Evas.h index 869a5c6..88acd82 100644 --- a/src/lib/Evas.h +++ b/src/lib/Evas.h @@ -31,18 +31,22 @@ # endif #endif /* ! _WIN32 */ +#ifdef __cplusplus +extern "C" { +#endif + #define EVAS_VERSION_MAJOR 0 #define EVAS_VERSION_MINOR 9 -typedef struct _Evas_Version -{ - int major; - int minor; - int micro; - int revision; -} Evas_Version; - -EAPI extern Evas_Version *evas_version; + typedef struct _Evas_Version + { + int major; + int minor; + int micro; + int revision; + } Evas_Version; + + EAPI extern Evas_Version *evas_version; /** * @file @@ -614,10 +618,6 @@ typedef void (*Evas_Event_Cb) (void *data, Evas *e, void *event_info); typedef Eina_Bool (*Evas_Object_Event_Post_Cb) (void *data, Evas *e); typedef void (*Evas_Object_Event_Cb) (void *data, Evas *e, Evas_Object *obj, void *event_info); -#ifdef __cplusplus -extern "C" { -#endif - /** * @defgroup Evas_Group Top Level Functions *