move evas version inside extern c.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 29 May 2010 06:37:19 +0000 (06:37 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 29 May 2010 06:37:19 +0000 (06:37 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@49274 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Evas.h

index 869a5c6..88acd82 100644 (file)
 # 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
  *