Ignore:
Timestamp:
Feb 14, 2001, 10:01:57 PM (25 years ago)
Author:
umoeller
Message:

Added XML.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/linklist.c

    r21 r35  
    10401040 *      returns the last item which has been pushed onto
    10411041 *      a pseudo-stack LIFO LINKLIST using lstPush.
     1042 *
    10421043 *      Note that to really "pop" the item, i.e. remove
    10431044 *      it from the list, you MUST call lstRemoveNode
     
    10651066PLISTNODE lstPop(PLINKLIST pList)
    10661067{
    1067     PLISTNODE pNodeReturn = NULL;
    1068     unsigned long cItems = lstCountItems(pList);
     1068    return (pList->pLast);
     1069    /* unsigned long cItems = lstCountItems(pList);
    10691070    if (cItems)
    10701071    {
     
    10741075                                       cItems - 1);
    10751076    }
    1076     return (pNodeReturn);
    1077 }
    1078 
     1077    return (pNodeReturn); */
     1078}
     1079
Note: See TracChangeset for help on using the changeset viewer.