g_slist_length()?
- From: Jimmy Ho <jkh cs brown edu>
- To: gtk-list redhat com
- Subject: g_slist_length()?
- Date: Wed, 16 Dec 1998 14:19:14 -0500 (EST)
I have a list (a GSList constructed via g_slist_alloc()).
I add five elements to the list, call
g_slist_length(list), and I get SIX.
Is there some sort of dummy/sentinel node that's getting
counted, too? Is there a rational for this, or is it a bug?
Jimmy Ho
...........................................................
jkh@cs.brown.edu Brown University
(401) 863-7681 Master's Candidate, Computer Science
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]