Re: invasive doubly linked list
- From: James Henstridge <james daa com au>
- To: Tim Janik <timj gtk org>
- Cc: Joshua N Pritikin <vishnu pobox com>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: invasive doubly linked list
- Date: Tue, 7 Aug 2001 15:18:59 +0800 (WST)
On Tue, 7 Aug 2001, Tim Janik wrote:
[snip]
> GslRing* gsl_ring_prepend (GslRing *head,
> gpointer data); /* O(1) */
> GslRing* gsl_ring_append (GslRing *head,
> gpointer data); /* O(1) */
I would have thought ring_insert_before() and ring_insert_after would be
better names for these APIs, as a ring doesn't really have a start or end
to attach elements to.
James.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]