Re: g_strdupv
- From: Havoc Pennington <hp redhat com>
- To: Martin Baulig <martin home-of-linux org>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_strdupv
- Date: 10 Jun 2001 16:38:56 -0400
Martin Baulig <martin home-of-linux org> writes:
>
> is there a reason why g_strdupv() takes a `gchar **str_array'
> and not a `const gchar **str_array' ?
>
All the gchar** in GTK/GLib are like that.
The reason is that C is stupid and will warn about passing "gchar**"
to "const gchar**'.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]