Commit 66529cef authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

"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.
parent ee2712c4
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>
* glib/gconvert.h:
......
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>
* glib/gconvert.h:
......
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>
* glib/gconvert.h:
......
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>
* glib/gconvert.h:
......
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>
* glib/gconvert.h:
......
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>
* glib/gconvert.h:
......
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>
* glib/gconvert.h:
......
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>
* glib/gconvert.h:
......
......@@ -120,12 +120,12 @@ struct _GIOChannel
/* Group the flags together, immediately after partial_write_buf, to save memory */
gboolean use_buffer : 1; /* The encoding uses the buffers */
gboolean do_encode : 1; /* The encoding uses the GIConv coverters */
gboolean close_on_unref : 1; /* Close the channel on final unref */
gboolean is_readable : 1; /* Cached GIOFlag */
gboolean is_writeable : 1; /* ditto */
gboolean is_seekable : 1; /* ditto */
guint use_buffer : 1; /* The encoding uses the buffers */
guint do_encode : 1; /* The encoding uses the GIConv coverters */
guint close_on_unref : 1; /* Close the channel on final unref */
guint is_readable : 1; /* Cached GIOFlag */
guint is_writeable : 1; /* ditto */
guint is_seekable : 1; /* ditto */
};
typedef gboolean (*GIOFunc) (GIOChannel *source,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment