Don't use unportable 1-bit bitfields.

SVN revision: 32159
This commit is contained in:
Brett Nash 2007-10-25 05:26:03 +00:00
parent 619f9965c8
commit 3a4c71f293
1 changed files with 12 additions and 12 deletions

View File

@ -144,9 +144,9 @@ extern "C" {
struct _Ecore_Event_Signal_Exit /** Exit request event */ struct _Ecore_Event_Signal_Exit /** Exit request event */
{ {
int interrupt : 1; /**< Set if the exit request was an interrupt signal*/ unsigned int interrupt : 1; /**< Set if the exit request was an interrupt signal*/
int quit : 1; /**< set if the exit request was a quit signal */ unsigned int quit : 1; /**< set if the exit request was a quit signal */
int terminate : 1; /**< Set if the exit request was a terminate singal */ unsigned int terminate : 1; /**< Set if the exit request was a terminate singal */
void *ext_data; /**< Extension data - not used */ void *ext_data; /**< Extension data - not used */
#ifndef _WIN32 #ifndef _WIN32
@ -185,8 +185,8 @@ extern "C" {
int exit_code; /**< The exit code of the process */ int exit_code; /**< The exit code of the process */
Ecore_Exe *exe; /**< The handle to the exited process, or NULL if not found */ Ecore_Exe *exe; /**< The handle to the exited process, or NULL if not found */
int exit_signal; /** < The signal that caused the process to exit */ int exit_signal; /** < The signal that caused the process to exit */
char exited : 1; /** < set to 1 if the process exited of its own accord */ unsigned char exited : 1; /** < set to 1 if the process exited of its own accord */
char signalled : 1; /** < set to 1 id the process exited due to uncaught signal */ unsigned char signalled : 1; /** < set to 1 id the process exited due to uncaught signal */
void *ext_data; /**< Extension data - not used */ void *ext_data; /**< Extension data - not used */
siginfo_t data; /**< Signal info */ siginfo_t data; /**< Signal info */
}; };