ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/lookup.h
(Generate patch)

Comparing ray/src/common/lookup.h (file contents):
Revision 2.3 by gregl, Wed Sep 17 14:46:48 1997 UTC vs.
Revision 2.4 by gwlarson, Tue Jun 2 15:01:43 1998 UTC

# Line 60 | Line 60 | typedef struct {
60   * It is therefore an error to reuse or do anything with the key
61   * field after calling lu_delete.
62   *
63 + * The lu_doall routine loops through every filled table entry, calling
64 + * the given function once on each entry.  If a NULL pointer is passed
65 + * for this function, then lu_doall simply returns the total number of
66 + * active entries.  Otherwise, it returns the sum of all the function
67 + * evaluations.
68 + *
69   * The lu_done routine calls the given free function once for each
70   * assigned table entry (i.e. each entry with an assigned key value).
71   * The user must define these routines to free the key and the data
# Line 70 | Line 76 | typedef struct {
76   extern int      lu_init();
77   extern LUENT    *lu_find();
78   extern void     lu_delete();
79 + extern int      lu_doall();
80   extern void     lu_done();
81   extern long     lu_shash();
82  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines