forked from enlightenment/efl
Evas_Bool should be unsigned.
This will help the use of Evas_Bool to define bitfield structs like in: struct s { Evas_Bool a:1; Evas_Bool b:1; Evas_Bool c:1; Evas_Bool d:1; Evas_Bool e:1; Evas_Bool f:1; Evas_Bool g:1; Evas_Bool h:1; Evas_Bool i:1; }; It must be unsigned or it would use the signal bit, having "a == 0" to be true anyway, as it would be just +0 and -0. SVN revision: 34362
This commit is contained in:
parent
97c0e0b5d3
commit
247e2556a5
|
@ -98,10 +98,10 @@ typedef struct _Evas_Smart Evas_Smart; /**< An Evas Smart Object handle */
|
||||||
typedef struct _Evas_Native_Surface Evas_Native_Surface; /**< A generic datatype for engine specific native surface information */
|
typedef struct _Evas_Native_Surface Evas_Native_Surface; /**< A generic datatype for engine specific native surface information */
|
||||||
typedef unsigned long long Evas_Modifier_Mask; /**< An Evas modifier mask type */
|
typedef unsigned long long Evas_Modifier_Mask; /**< An Evas modifier mask type */
|
||||||
|
|
||||||
typedef int Evas_Coord;
|
typedef int Evas_Coord;
|
||||||
typedef int Evas_Font_Size;
|
typedef int Evas_Font_Size;
|
||||||
typedef int Evas_Angle;
|
typedef int Evas_Angle;
|
||||||
typedef char Evas_Bool;
|
typedef unsigned char Evas_Bool;
|
||||||
|
|
||||||
struct _Evas_List /** A linked list node */
|
struct _Evas_List /** A linked list node */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue