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.17 by greg, Sat Jan 15 16:57:46 2022 UTC vs.
Revision 2.18 by greg, Mon Mar 14 19:51:19 2022 UTC

# Line 203 | Line 203 | extern int     findName(const char *nm, const char **nmlis
203   /* Verbose mode global */
204   extern int      verbose;
205  
206 < extern char     *emalloc(unsigned int n);
207 < extern char     *ecalloc(unsigned int ne, unsigned int n);
208 < extern char     *erealloc(char *cp, unsigned int n);
209 < extern void     efree(char *cp);
206 > extern void     *emalloc(unsigned int n);
207 > extern void     *ecalloc(unsigned int ne, unsigned int n);
208 > extern void     *erealloc(void *ptr, unsigned int n);
209 > extern void     efree(void *ptr);
210  
211   #define getGroupID(sc,nm)       findName(nm, (const char **)(sc)->grpname, (sc)->ngrps)
212   #define getMaterialID(sc,nm)    findName(nm, (const char **)(sc)->matname, (sc)->nmats)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines