Re: broken oop ?



On Sun, 16 May 1999, Elliot Lee wrote:

> typedef struct {
> 	GtkWidget widget;
> 	GTK_PUBLIC gboolean myfield, myfield2 : 1;
> } GtkMine;

<nit picking>
gboolean is signed int, bit fields should always be declared
as unsigned, thus guint myfield : 1; guint myfield2 : 1;
</nit picking>

as for the GTK_PUBLIC, we are slowly moving to that route with
/*< >*/ trigraph comments for the RDP now.

> 
> -- Elliot
> "We're sorry, we didn't know it was supposed to be invisible."
> 	- Sign carried outside US embassy.
> 

---
ciaoTJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]