Re: GLib: g_array_new



On 12 Nov 1999 14:16:01 -0500, Eric Lemings <eric.b.lemings@lmco.com> wrote:

>In the g_array_new function, are the zero_terminated and clear flags
>really required to create the array?  Or can default values be used and
>the flags changed later on if need be?

1. You should really ask this question on gtk-app-devel-list and not gtk-devel-list, which
is for the discussion of the development of glib & gtk+ themselves.

2. I don't see any reason to have separate accessor functions for zero_terminated and
clear properties, or to allow changing them after array creation. Arrays are so generic
that the use context almost always makes the needed flags obvious at creation time.

-- Elliot
Do not meddle in the affairs of dragons,
for you are crunchy and good with ketchup. 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]