Changeset 35 for trunk/src/helpers/linklist.c
- Timestamp:
- Feb 14, 2001, 10:01:57 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/linklist.c
r21 r35 1040 1040 * returns the last item which has been pushed onto 1041 1041 * a pseudo-stack LIFO LINKLIST using lstPush. 1042 * 1042 1043 * Note that to really "pop" the item, i.e. remove 1043 1044 * it from the list, you MUST call lstRemoveNode … … 1065 1066 PLISTNODE lstPop(PLINKLIST pList) 1066 1067 { 1067 PLISTNODE pNodeReturn = NULL;1068 unsigned long cItems = lstCountItems(pList);1068 return (pList->pLast); 1069 /* unsigned long cItems = lstCountItems(pList); 1069 1070 if (cItems) 1070 1071 { … … 1074 1075 cItems - 1); 1075 1076 } 1076 return (pNodeReturn); 1077 } 1078 1077 return (pNodeReturn); */ 1078 } 1079
Note:
See TracChangeset
for help on using the changeset viewer.