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

Comparing ray/src/common/objutil.h (file contents):
Revision 2.11 by greg, Mon Feb 15 18:45:11 2021 UTC vs.
Revision 2.12 by greg, Wed Mar 3 18:53:08 2021 UTC

# Line 192 | Line 192 | extern int      verbose;
192   extern char     *emalloc(unsigned int n);
193   extern char     *ecalloc(unsigned int ne, unsigned int n);
194   extern char     *erealloc(char *cp, unsigned int n);
195 < extern void     efree(char *cp);
195 > extern void     efree(char *cp);
196 >
197 > #define getGroupID(sc,nm)       findName(nm, (const char **)(sc)->grpname, (sc)->ngrps)
198 > #define getMaterialID(sc,nm)    findName(nm, (const char **)(sc)->matname, (sc)->nmats)
199  
200   #define CHUNKSIZ        128     /* object allocation chunk size */
201  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines