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.4 by schorsch, Thu Jul 17 09:21:29 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" {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines