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

Comparing ray/src/cv/mgflib/object.c (file contents):
Revision 1.1 by greg, Tue Jun 21 14:45:46 1994 UTC vs.
Revision 1.2 by greg, Wed Jun 22 15:33:46 1994 UTC

# Line 53 | Line 53 | char   **av;
53          obj_name[obj_nnames] = NULL;
54          return(MG_OK);
55   }
56 +
57 +
58 + void
59 + obj_clear()                     /* clear object stack */
60 + {
61 +        while (obj_nnames)
62 +                free((MEM_PTR)obj_name[--obj_nnames]);
63 +        if (obj_maxname) {
64 +                free((MEM_PTR)obj_name);
65 +                obj_maxname = 0;
66 +        }
67 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines