From 0e690b89b8368608f9f68a056eb16482b1914ef7 Mon Sep 17 00:00:00 2001 From: raster Date: Sat, 29 May 2010 06:37:19 +0000 Subject: [PATCH] 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 --- src/lib/Evas.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 * -- 2.7.4