A couple of GQueue additions
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: A couple of GQueue additions
- Date: 05 Jun 2000 14:46:13 -0400
Would anybody mind if I added:
void g_queue_remove (GQueue *queue, gconstpointer data);
void g_queue_remove_link (GQueue *queue, GList *link);
void g_queue_delete_link (GQueue *queue, GList *link);
The reason for these additions is that to implement these requires
not only reading GQueues's internals, but also modifying them.
Yes - these additions go beyond a (de)queue, but they are going
to be used fairly frequently in many uses of a GQueue.
g_queue_remove and g_queue_delete_link can be pretty trivially
implemented in terms of g_queue_remove_link, but I'd like to
have them there for parallelism to GList and GSList.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]