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

Comparing ray/src/common/objset.c (file contents):
Revision 2.14 by greg, Mon Oct 20 15:10:18 2003 UTC vs.
Revision 2.15 by greg, Wed Dec 15 22:02:04 2004 UTC

# Line 258 | Line 258 | noderr:
258   }
259  
260  
261 int
262 dosets(f)                               /* loop through all sets */
263 int     (*f)();
264 {
265        int  res = 0;
266        int  n;
267        register OBJECT  *os;
268
269        for (n = 0; n < OSTSIZ; n++) {
270                if ((os = ostable[n]) == NULL)
271                        continue;
272                while (*os > 0) {
273                        res += (*f)(os);
274                        os += *os + 1;
275                }
276        }
277        return(res);
278 }
279
280
261   void
262   donesets()                      /* free ALL SETS in our table */
263   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines