eo: adjust generation count

raster suggested a few optimizations
This commit is contained in:
Marcel Hollerbach 2016-12-02 11:39:57 +01:00
parent a2e90e522b
commit 2ce2a65148
1 changed files with 3 additions and 4 deletions

View File

@ -19,7 +19,7 @@ typedef struct {
EINA_INLIST; EINA_INLIST;
unsigned int idx; unsigned int idx;
unsigned int inserted_before; unsigned int inserted_before;
unsigned char generation; unsigned short generation;
} Efl_Event_Callback_Frame; } Efl_Event_Callback_Frame;
typedef struct typedef struct
@ -42,9 +42,8 @@ typedef struct
Eina_Inlist *current; Eina_Inlist *current;
Eo_Callback_Description **callbacks; Eo_Callback_Description **callbacks;
unsigned int callbacks_count;
Eina_Inlist *event_frame; Eina_Inlist *event_frame;
unsigned int callbacks_count;
unsigned short event_freeze_count; unsigned short event_freeze_count;
#ifdef EFL_EVENT_SPECIAL_SKIP #ifdef EFL_EVENT_SPECIAL_SKIP
@ -921,7 +920,7 @@ struct _Eo_Callback_Description
void *func_data; void *func_data;
Efl_Callback_Priority priority; Efl_Callback_Priority priority;
unsigned char generation; unsigned short generation;
Eina_Bool delete_me : 1; Eina_Bool delete_me : 1;
Eina_Bool func_array : 1; Eina_Bool func_array : 1;