[BACK]Return to lst.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/lst.h between version 1.10 and 1.11

version 1.10, 1999/12/18 21:58:07 version 1.11, 1999/12/19 00:04:25
Line 60 
Line 60 
   
 typedef struct  Lst     *Lst;  typedef struct  Lst     *Lst;
 typedef struct  LstNode *LstNode;  typedef struct  LstNode *LstNode;
   typedef int (*FindProc)__P((ClientData, ClientData));
   
 /*  /*
  * NOFREE can be used as the freeProc to Lst_Destroy when the elements are   * NOFREE can be used as the freeProc to Lst_Destroy when the elements are
Line 117 
Line 118 
 /*  /*
  * Functions for entire lists   * Functions for entire lists
  */   */
   
 /* Find an element in a list */  /* Find an element in a list */
 LstNode         Lst_Find __P((Lst, ClientData,  #define Lst_Find(l, cProc, d)   Lst_FindFrom(Lst_First(l), cProc, d)
                               int (*)(ClientData, ClientData)));  
 /* Find an element starting from somewhere */  /* Find an element starting from somewhere */
 LstNode         Lst_FindFrom __P((Lst, LstNode, ClientData,  LstNode         Lst_FindFrom __P((LstNode, FindProc, ClientData));
                                   int (*cProc)(ClientData, ClientData)));  
 /*  /*
  * See if the given datum is on the list. Returns the LstNode containing   * See if the given datum is on the list. Returns the LstNode containing
  * the datum   * the datum

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11