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

Comparing ray/src/common/rtmisc.h (file contents):
Revision 3.3 by schorsch, Mon Jul 14 22:23:59 2003 UTC vs.
Revision 3.5 by schorsch, Mon Jul 21 22:30:17 2003 UTC

# Line 6 | Line 6
6   #define _RAD_RTMISC_H_
7  
8   #include  <stdlib.h>
9                                        /* memory operations */
10 #ifdef  NOSTRUCTASS
11 #include  <string.h>
12 #define  copystruct(d,s)        memcpy((void *)(d),(void *)(s),sizeof(*(d)))
13 #else
14 #define  copystruct(d,s)        (*(d) = *(s))
15 #endif
9  
10   #ifdef __cplusplus
11   extern "C" {
# Line 21 | Line 14 | extern "C" {
14                                          /* defined in bmalloc.c */
15   extern char     *bmalloc(unsigned int n);
16   extern void     bfree(char *p, unsigned int n);
17 +                                        /*  defined in myhostname.c */
18 + extern char     *myhostname(void);
19  
20   #ifdef __cplusplus
21   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines