revert gboolean change until we work out the details of exactly why it needs to be an int

This commit is contained in:
Elliot Lee 1998-03-19 03:28:37 +00:00
parent 2a2fff763d
commit 177354df02

View File

@ -295,7 +295,8 @@ typedef char gchar;
typedef short gshort; typedef short gshort;
typedef long glong; typedef long glong;
typedef int gint; 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 char guchar;
typedef unsigned short gushort; typedef unsigned short gushort;
@ -751,7 +752,7 @@ void g_string_sprintfa (GString *string,
*/ */
#define g_array_index(array,index) (array->data)[index] #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, void g_array_free (GArray *array,
gboolean free_seg); gboolean free_seg);
void g_array_set_size (GArray *array, void g_array_set_size (GArray *array,