Re: broken oop ?
- From: "Sergio A. Kessler" <ser perio unlp edu ar>
- To: "gtk-devel-list redhat com" <gtk-devel-list redhat com>
- Subject: Re: broken oop ?
- Date: Mon, 17 May 1999 17:11:23 -0300
Tim Janik <timj@gtk.org> el día Mon, 17 May 1999 07:00:46 +0200 (CEST),
escribió:
>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>
Hmmm... this is not helping much...
how about: typedef gbit enum { 0, 1} ?? (the syntax is correct ?)
Sergio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]