diff options
author | Emmanuel Fleury <emmanuel.fleury@u-bordeaux.fr> | 2019-06-19 12:36:06 +0200 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@u-bordeaux.fr> | 2019-06-26 15:34:47 +0200 |
commit | 86bcc5c94295d4af4b4830f0c7b4ba30acdbfc84 (patch) | |
tree | d4d4dcef0f0bfdb07b3a6094677986b71834f628 /glib/garray.h | |
parent | cf29e37c54f6018514792919766055980af0ae22 (diff) | |
download | glib-86bcc5c94295d4af4b4830f0c7b4ba30acdbfc84.tar.gz |
Adding g_ptr_array_copy() function to glib/garray.c
Related to issue #269
Diffstat (limited to 'glib/garray.h')
-rw-r--r-- | glib/garray.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glib/garray.h b/glib/garray.h index 6c8c2c363..a92c7cd66 100644 --- a/glib/garray.h +++ b/glib/garray.h @@ -130,6 +130,10 @@ GLIB_AVAILABLE_IN_ALL GPtrArray* g_ptr_array_new (void); GLIB_AVAILABLE_IN_ALL GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func); +GLIB_AVAILABLE_IN_2_62 +GPtrArray *g_ptr_array_copy (GPtrArray *array, + GCopyFunc func, + gpointer user_data); GLIB_AVAILABLE_IN_ALL GPtrArray* g_ptr_array_sized_new (guint reserved_size); GLIB_AVAILABLE_IN_ALL |