glib: slist: how check if empty
- From: Felix Kater <f kater2 gmx net>
- To: gtk-doc-list gnome org
- Subject: glib: slist: how check if empty
- Date: Mon, 11 Jul 2005 12:20:06 +0200
Hi,
it could be helpful to add a note how to check if a slist is empty,
either in the general description or g_slist_remove() function (maybe
at both places).
E.g.: "When the last element is removed the pointer to slist is set to
NULL."
AFAIK this is not mentioned anywhere.
Felix
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]