mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
fix preallocation logic, support DISABLE_MEM_POOLS properly, group value
Sun Aug 12 02:07:10 2001 Tim Janik <timj@gtk.org> * gvaluearray.[hc]: fix preallocation logic, support DISABLE_MEM_POOLS properly, group value allocations. (g_value_array_new): fix semantic of n_prealloced argument, so it's really just about preallocation space.
This commit is contained in:
@@ -36,6 +36,9 @@ struct _GValueArray
|
||||
{
|
||||
guint n_values;
|
||||
GValue *values;
|
||||
|
||||
/*< private >*/
|
||||
guint n_prealloced;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user