+Tue Aug 3 15:50:55 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/goption.[hc]: Pedantically use g types throughout.
+
+Tue Aug 3 14:58:20 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gutils.h:
+ * glib/gutils.c (glib_check_version): New function to
+ check the version of GLib at runtime. (#149175, Michael Natterer)
+
2004-08-03 Anders Carlsson <andersca@gnome.org>
* glib/goption.h:
+Tue Aug 3 15:50:55 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/goption.[hc]: Pedantically use g types throughout.
+
+Tue Aug 3 14:58:20 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gutils.h:
+ * glib/gutils.c (glib_check_version): New function to
+ check the version of GLib at runtime. (#149175, Michael Natterer)
+
2004-08-03 Anders Carlsson <andersca@gnome.org>
* glib/goption.h:
+Tue Aug 3 15:50:55 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/goption.[hc]: Pedantically use g types throughout.
+
+Tue Aug 3 14:58:20 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gutils.h:
+ * glib/gutils.c (glib_check_version): New function to
+ check the version of GLib at runtime. (#149175, Michael Natterer)
+
2004-08-03 Anders Carlsson <andersca@gnome.org>
* glib/goption.h:
+Tue Aug 3 15:50:55 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/goption.[hc]: Pedantically use g types throughout.
+
+Tue Aug 3 14:58:20 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gutils.h:
+ * glib/gutils.c (glib_check_version): New function to
+ check the version of GLib at runtime. (#149175, Michael Natterer)
+
2004-08-03 Anders Carlsson <andersca@gnome.org>
* glib/goption.h:
+Tue Aug 3 15:50:55 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/goption.[hc]: Pedantically use g types throughout.
+
+Tue Aug 3 14:58:20 2004 Matthias Clasen <maclas@gmx.de>
+
+ * glib/gutils.h:
+ * glib/gutils.c (glib_check_version): New function to
+ check the version of GLib at runtime. (#149175, Michael Natterer)
+
2004-08-03 Anders Carlsson <andersca@gnome.org>
* glib/goption.h:
union {
gchar *str;
struct {
- int len;
+ gint len;
gchar **data;
} array;
} allocated;
}
static gboolean
-parse_int (const char *arg_name,
- const char *arg,
- gint *result,
- GError **error)
+parse_int (const gchar *arg_name,
+ const gchar *arg,
+ gint *result,
+ GError **error)
{
gchar *end;
glong tmp = strtol (arg, &end, 0);
case G_OPTION_ARG_INT:
{
- int data;
+ gint data;
if (!parse_int (option_name, value,
&data,
GError **error,
gboolean *parsed)
{
- int j;
+ gint j;
for (j = 0; j < group->n_entries; j++)
{
GError **error,
gboolean *parsed)
{
- int j;
+ gint j;
for (j = 0; j < group->n_entries; j++)
{
g_option_group_add_entries (GOptionGroup *group,
const GOptionEntry *entries)
{
- int n_entries;
- int i;
+ gint n_entries;
+ gint i;
g_return_if_fail (entries != NULL);
struct _GOptionEntry
{
- const char *long_name;
- char short_name;
- int flags;
+ const gchar *long_name;
+ gchar short_name;
+ gint flags;
- GOptionArg arg;
- gpointer arg_data;
+ GOptionArg arg;
+ gpointer arg_data;
- const char *description;
- const char *arg_description;
+ const gchar *description;
+ const gchar *arg_description;
};
GOptionContext *g_option_context_new (const gchar *parameter_string);
GOptionGroup *g_option_group_new (const gchar *name,
const gchar *description,
- const char *help_description,
+ const gchar *help_description,
gpointer user_data,
GDestroyNotify destroy);
void g_option_group_set_parse_hooks (GOptionGroup *group,