gst/gstvalue.h: gst/gstvalue.c (gst_value_array_append_value) (gst_value_array_prepen...
authorAndy Wingo <wingo@pobox.com>
Sat, 19 Nov 2005 16:46:30 +0000 (16:46 +0000)
committerAndy Wingo <wingo@pobox.com>
Sat, 19 Nov 2005 16:46:30 +0000 (16:46 +0000)
commit0ae103aff33c5fd350bc7472c35b5981642ea0fc
tree3a082c6c875c99cc31ad4b88232581bdafa80dfe
parentff1eca9d57ef849697835abc2b4e46b031f86b74
gst/gstvalue.h: gst/gstvalue.c (gst_value_array_append_value) (gst_value_array_prepend_value, gst_value_array_get_size)

Original commit message from CVS:
2005-11-19  Andy Wingo  <wingo@pobox.com>

* gst/gstvalue.h:
* gst/gstvalue.c (gst_value_array_append_value)
(gst_value_array_prepend_value, gst_value_array_get_size)
(gst_value_array_get_value): New API, copied from
gst_value_list_*, only operates on arrays.
(gst_value_list_append_value, gst_value_list_prepend_value)
(gst_value_list_concat, gst_value_list_get_size)
(gst_value_list_get_value): Only operate on lists. Fixes #156633.

* gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
init_list, because it works on both.
(copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
(gst_value_copy_list_or_array): Renamed from copy_list.
(gst_value_free_list_or_array): Renamed from free_list.
(gst_value_collect_list_or_array): Renamed from collect_list.
(gst_value_lcopy_list_or_array): Renamed from lcopy_list.
(gst_value_list_or_array_peek_pointer): Renamed from
list_peek_pointer.
(_gst_value_array_value_table, _gst_value_list_value_table):
Update value table functions.
(gst_value_compare_list_or_array): Renamed from compare_list.
ChangeLog
gst/gstvalue.c
gst/gstvalue.h