Better put pointer at the beginning of the structure.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 9 Dec 2008 17:55:33 +0000 (17:55 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 9 Dec 2008 17:55:33 +0000 (17:55 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38065 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_async_events.c

index e928d74..bba7072 100644 (file)
@@ -17,10 +17,10 @@ static pthread_mutex_t _mutex = PTHREAD_MUTEX_INITIALIZER;
 typedef struct _Evas_Event_Async       Evas_Event_Async;
 struct _Evas_Event_Async
 {
-   void                        (*func)(void *target, Evas_Callback_Type type, void *event_info);
    const void           *target;
-   Evas_Callback_Type    type;
    void                         *event_info;
+   void                        (*func)(void *target, Evas_Callback_Type type, void *event_info);
+   Evas_Callback_Type    type;
 };
 
 #endif
@@ -129,7 +129,7 @@ evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_i
 #ifdef BUILD_ASYNC_EVENTS
    Evas_Event_Async new;
    ssize_t check;
-   int offset = 0;
+   int offset = 0;
    Evas_Bool result = 0;
 
    if (!func) return 0;