Re: Abuse of 'const' ?

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]