use ints instad of bools for event protocol to avoid unset bytes
This commit is contained in:
parent
16d33cdc4d
commit
c05de4d019
|
@ -140,7 +140,7 @@ _entrance_event_maxtries_dd()
|
|||
EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Entrance_Maxtries_Event);
|
||||
edd = eet_data_descriptor_stream_new(&eddc);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC(edd, Entrance_Maxtries_Event, "maxtries",
|
||||
maxtries, EET_T_UCHAR);
|
||||
maxtries, EET_T_INT);
|
||||
return edd;
|
||||
}
|
||||
|
||||
|
@ -171,7 +171,7 @@ _entrance_event_status_dd()
|
|||
EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(&eddc, Entrance_Status_Event);
|
||||
edd = eet_data_descriptor_stream_new(&eddc);
|
||||
EET_DATA_DESCRIPTOR_ADD_BASIC(edd, Entrance_Status_Event, "granted",
|
||||
granted, EET_T_UCHAR);
|
||||
granted, EET_T_INT);
|
||||
return edd;
|
||||
|
||||
}
|
||||
|
|
|
@ -37,12 +37,12 @@ typedef struct Entrance_Auth_Event_
|
|||
|
||||
typedef struct Entrance_Maxtries_Event_
|
||||
{
|
||||
Eina_Bool maxtries;
|
||||
int maxtries;
|
||||
} Entrance_Maxtries_Event;
|
||||
|
||||
typedef struct Entrance_Status_Event_
|
||||
{
|
||||
Eina_Bool granted;
|
||||
int granted;
|
||||
} Entrance_Status_Event;
|
||||
|
||||
typedef struct Entrance_Action_Event_
|
||||
|
|
Loading…
Reference in New Issue