1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-26 11:57:51 +02:00

gvaluearray: Mark the whole of GValueArray as deprecated

This is not new; all of its methods have been deprecated for a long
time. Make the deprecation more obvious, however, by marking the whole
section as deprecated.

Note that GArray can’t *quite* do everything that GValueArray could.
See  for work to fix this. This documentation block can be updated
again once that’s fixed.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall
2019-03-07 17:39:21 +00:00
parent 76b32508d2
commit ba09fa8500

@@ -55,6 +55,9 @@
* GArray *array = g_array_sized_new (FALSE, TRUE, sizeof (GValue), 10); * GArray *array = g_array_sized_new (FALSE, TRUE, sizeof (GValue), 10);
* g_array_set_clear_func (array, (GDestroyNotify) g_value_unset); * g_array_set_clear_func (array, (GDestroyNotify) g_value_unset);
* ]| * ]|
*
* Deprecated: 2.32: Use #GArray instead, if possible for the given use case,
* as described above.
*/ */
#define GROUP_N_VALUES (8) /* power of 2 !! */ #define GROUP_N_VALUES (8) /* power of 2 !! */