new function for removing an entry from an array while preserving the
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Tue, 3 Nov 1998 14:52:25 +0000 (14:52 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 3 Nov 1998 14:52:25 +0000 (14:52 +0000)
commit4dbf739ea9b43747f8904b3dcb4dacc95fe2d497
treef57b251c6b73afdb9eda3519d14a830244d9953d
parent840114ac762ef121aa1aac01d7bee92638ec2655
new function for removing an entry from an array while preserving the

1998-11-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib.h:
* garray.h:
(g_array_remove_index): new function for removing an entry from an
array while preserving the order
(g_array_remove_index_fast): new function for removing an entry
from an array. the order might be distorted
(g_ptr_array_remove_index_fast, g_ptr_array_remove_fast): new
functions; working similiar to the above. (they have the semantic
of the old g_ptr_array_remove[_index] functions)
(g_ptr_array_remove_index, g_ptr_array_remove): new semantic. now
the order of the elements in the array is not changed
(g_byte_array_remove_index, g_byte_array_remove_index_fast): new
functions; byte_array wrapper for g_array_remove_index[_fast]
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
garray.c
glib.h
glib/garray.c
glib/glib.h