g_list_prepend() does not call g_list_first()
- From: "ANDREW PAPROCKI, BLOOMBERG/ 731 LEXIN" <apaprocki bloomberg net>
- To: GTK-DEVEL-LIST GNOME ORG
- Cc:
- Subject: g_list_prepend() does not call g_list_first()
- Date: Thu, 1 Dec 2005 11:36:23 -0500
Just wondering if there is a legacy reason why g_list_prepend() does not call
g_list_first() on the pointer passed in to ensure that it is prepending to the
head of the list. The g_list_append() call ensure it is appending to the end,
and this is unintuitive to people. If this seems logical, is this a possible
addition to 2.10 since it would change API behavior? Or has this never been done
because the impact was deemed to great versus the benefit?
Andrew Paprocki
Bloomberg LP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]