Ignore:
Timestamp:
Feb 17, 2001, 3:03:14 PM (25 years ago)
Author:
umoeller
Message:

Updates to XML.

File:
1 edited

Legend:

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

    r35 r38  
    373373PLISTNODE lstQueryFirstNode(PLINKLIST pList)
    374374{
    375     if (pList)
    376         if (pList->ulMagic == LINKLISTMAGIC)
    377             return (pList->pFirst);
     375    if (    (pList)
     376         && (pList->ulMagic == LINKLISTMAGIC)
     377       )
     378        return (pList->pFirst);
     379
     380    return (0);
     381}
     382
     383/*
     384 *@@ lstQueryLastNode:
     385 *      similar to lstQueryFirstNode, but this returns
     386 *      the last node.
     387 *
     388 *@@added V0.9.9 (2001-02-14) [umoeller]
     389 */
     390
     391PLISTNODE lstQueryLastNode(PLINKLIST pList)
     392{
     393    if (    (pList)
     394         && (pList->ulMagic == LINKLISTMAGIC)
     395       )
     396        return (pList->pLast);
    378397
    379398    return (0);
Note: See TracChangeset for help on using the changeset viewer.