From 177354df02dfca75c1fb9baade8975c15b9c48d6 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Thu, 19 Mar 1998 03:28:37 +0000 Subject: [PATCH] revert gboolean change until we work out the details of exactly why it needs to be an int --- glib/glib.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/glib/glib.h b/glib/glib.h index 5bb8ce7177..495f7a2fcf 100644 --- a/glib/glib.h +++ b/glib/glib.h @@ -295,7 +295,8 @@ typedef char gchar; typedef short gshort; typedef long glong; typedef int gint; -typedef int gboolean; /* Josh says. */ +typedef unsigned char gboolean; /* Josh says. */ + /* #gimp says, and common sense says. Where's Josh? */ typedef unsigned char guchar; typedef unsigned short gushort; @@ -751,7 +752,7 @@ void g_string_sprintfa (GString *string, */ #define g_array_index(array,index) (array->data)[index] -GArray* g_array_new (); +GArray* g_array_new (gboolean zero_terminated); void g_array_free (GArray *array, gboolean free_seg); void g_array_set_size (GArray *array,