mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-28 23:16:14 +01:00
"gboolean foo : 1" results in TRUE being -1 once assigned, use "guint foo
2001-08-30 Michael Natterer <mitch@gimp.org> * glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1" results in TRUE being -1 once assigned, use "guint foo : 1" instead.
This commit is contained in:
parent
ee2712c487
commit
66529cef67
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-08-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* glib/giochannel.h: (struct GIOChannel): "gboolean foo : 1"
|
||||||
|
results in TRUE being -1 once assigned, use "guint foo : 1"
|
||||||
|
instead.
|
||||||
|
|
||||||
2001-08-27 Darin Adler <darin@bentspoon.com>
|
2001-08-27 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gconvert.h:
|
* glib/gconvert.h:
|
||||||
|
@ -120,12 +120,12 @@ struct _GIOChannel
|
|||||||
|
|
||||||
/* Group the flags together, immediately after partial_write_buf, to save memory */
|
/* Group the flags together, immediately after partial_write_buf, to save memory */
|
||||||
|
|
||||||
gboolean use_buffer : 1; /* The encoding uses the buffers */
|
guint use_buffer : 1; /* The encoding uses the buffers */
|
||||||
gboolean do_encode : 1; /* The encoding uses the GIConv coverters */
|
guint do_encode : 1; /* The encoding uses the GIConv coverters */
|
||||||
gboolean close_on_unref : 1; /* Close the channel on final unref */
|
guint close_on_unref : 1; /* Close the channel on final unref */
|
||||||
gboolean is_readable : 1; /* Cached GIOFlag */
|
guint is_readable : 1; /* Cached GIOFlag */
|
||||||
gboolean is_writeable : 1; /* ditto */
|
guint is_writeable : 1; /* ditto */
|
||||||
gboolean is_seekable : 1; /* ditto */
|
guint is_seekable : 1; /* ditto */
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef gboolean (*GIOFunc) (GIOChannel *source,
|
typedef gboolean (*GIOFunc) (GIOChannel *source,
|
||||||
|
Loading…
Reference in New Issue
Block a user