On Thu, 25 Oct 2007, Vincent Torri wrote:
> > > On Thu, 25 Oct 2007, Enlightenment CVS wrote: >> >> struct _Ecore_Exe_Event_Del /** Process exit event */ >> { >> - pid_t pid; /**< The process ID of the process that exited */ >> - int exit_code; /**< The exit code of the process */ >> - 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 */ >> - 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 */ >> - void *ext_data; /**< Extension data - not used */ >> - siginfo_t data; /**< Signal info */ >> + pid_t pid; /**< The process ID of the process that exited */ >> + int exit_code; /**< The exit code of the process */ >> + 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 */ >> + unsigned char exited : 1; /** < set to 1 if the process exited of >> its own accord */ >> + unsigned char signalled : 1; /** < set to 1 id the process exited due >> to uncaught signal */ >> + void *ext_data; /**< Extension data - not used */ >> + siginfo_t data; /**< Signal info */ >> }; > > > Shouldn't the bit-field members be placed at the end of the struct to be > useful ? also, if I'm not mistaken, in C90, only int, signed int and unsigned int are allowed for the type of the bitfields member (in case you want to be C90 compatible). Vincent ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel