using one bit with integers will just have room for 0 and -1, not 0 and 1.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46412
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
EINA_INLIST;
ECORE_MAGIC;
int type;
- int delete_me : 1;
int (*func) (void *data, int type, void *event);
void *data;
+ Eina_Bool delete_me : 1;
};
struct _Ecore_Event_Filter
{
EINA_INLIST;
ECORE_MAGIC;
- int delete_me : 1;
void *(*func_start) (void *data);
int (*func_filter) (void *data, void *loop_data, int type, void *event);
void (*func_end) (void *data, void *loop_data);
void *loop_data;
void *data;
+ Eina_Bool delete_me : 1;
};
struct _Ecore_Event
ECORE_MAGIC;
int type;
void *event;
- int delete_me : 1;
void (*func_free) (void *data, void *ev);
void *data;
+ Eina_Bool delete_me : 1;
};
int child_fd_write_x; /* fd to write TO to send data to the child */
int child_fd_read_x; /* fd to read FROM when child has sent us (the parent) data */
int child_fd_error_x; /* fd to read FROM when child has sent us (the parent) errors */
- int close_stdin;
+ Eina_Bool close_stdin : 1;
int start_bytes, end_bytes, start_lines, end_lines; /* Number of bytes/lines to auto pipe at start/end of stdout/stderr. */
int data_size;
int pending;
} pipe_error;
- int close_stdin;
- int is_suspended : 1;
+ Eina_Bool close_stdin : 1;
+ Eina_Bool is_suspended : 1;
void (*pre_free_cb)(void *data, const Ecore_Exe *exe);
};
ECORE_MAGIC;
int fd;
Ecore_Fd_Handler_Flags flags;
- int read_active : 1;
- int write_active : 1;
- int error_active : 1;
- int delete_me : 1;
int (*func) (void *data, Ecore_Fd_Handler *fd_handler);
void *data;
int (*buf_func) (void *data, Ecore_Fd_Handler *fd_handler);
void *buf_data;
void (*prep_func) (void *data, Ecore_Fd_Handler *fd_handler);
void *prep_data;
+ Eina_Bool read_active : 1;
+ Eina_Bool write_active : 1;
+ Eina_Bool error_active : 1;
+ Eina_Bool delete_me : 1;
};
#ifdef _WIN32
HANDLE h;
int (*func) (void *data, Ecore_Win32_Handler *win32_handler);
void *data;
- int delete_me : 1;
+ Eina_Bool delete_me : 1;
};
#endif