summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-12-02 11:39:57 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-12-02 11:39:57 +0100
commite9d01c4cbed36fdf7e2d90aa010f3ee54551bec5 (patch)
tree3a0022994f871db8ccd0df9149d9b60c61e88cc3
parent87a01ec8e723557eb97f1a786c865c0803a10563 (diff)
downloadefl-devs/bu5hm4n/failing_eo_test.tar.gz
eo: adjust generation countdevs/bu5hm4n/failing_eo_test
raster suggested a few optimizations
-rw-r--r--src/lib/eo/eo_base_class.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index fe8cd78457..3a85983a43 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;