bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2ce2a6514899e1c47c4a58f2c5305d62cddf1a7c

commit 2ce2a6514899e1c47c4a58f2c5305d62cddf1a7c
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Fri Dec 2 11:39:57 2016 +0100

    eo: adjust generation count
    
    raster suggested a few optimizations
---
 src/lib/eo/eo_base_class.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index fe8cd78..3a85983 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -19,7 +19,7 @@ typedef struct {
    EINA_INLIST;
    unsigned int idx;
    unsigned int inserted_before;
-   unsigned char generation;
+   unsigned short generation;
 } Efl_Event_Callback_Frame;
 
 typedef struct
@@ -42,9 +42,8 @@ typedef struct
    Eina_Inlist               *current;
 
    Eo_Callback_Description  **callbacks;
-   unsigned int               callbacks_count;
-
    Eina_Inlist                *event_frame;
+   unsigned int               callbacks_count;
 
    unsigned short             event_freeze_count;
 #ifdef EFL_EVENT_SPECIAL_SKIP
@@ -921,7 +920,7 @@ struct _Eo_Callback_Description
    void *func_data;
    Efl_Callback_Priority priority;
 
-   unsigned char generation;
+   unsigned short generation;
 
    Eina_Bool delete_me : 1;
    Eina_Bool func_array : 1;

-- 


Reply via email to