Re: g_ptr_array bsearch & etc
- From: Owen Taylor <otaylor redhat com>
- To: Joshua N Pritikin <vishnu pobox com>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_ptr_array bsearch & etc
- Date: 22 Aug 2001 16:35:02 -0400
Joshua N Pritikin <vishnu pobox com> writes:
> Can the following be added to g_ptr_array?
>
> gboolean
> g_ptr_array_bsearch (GPtrArray * array,
> guint * ret,
> gconstpointer sample,
> GCompareFunc compare_func);
> void
> g_ptr_array_add_index (GPtrArray *array,
> guint index,
> gpointer data);
> void
> g_ptr_array_add_sorted (GPtrArray * array,
> gpointer data,
> GCompareFunc compare_func);
>
> The implementation and test suite is attached.
These look like reasonable additions for glib-2.2. If you file
a bug in bugzilla.gnome.org we won't forget about them.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]