Re: Abuse of 'const' ?
- From: John Emmas <johne53 tiscali co uk>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Abuse of 'const' ?
- Date: Mon, 08 Apr 2013 15:20:14 +0100
On 08/04/2013 14:09, Ryan Lortie wrote:
A 'const gchar **' is (in this case) an array of 'const gchar *' (ie:
const string pointers). It is the strings that are immutable. The
array itself is fully writable, and indeed you should free what
g_variant_get_bytestring_array() returns to you, using g_free().
Good clarification Ryan. Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]