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.2 by schorsch, Mon Jun 30 14:59:11 2003 UTC vs.
Revision 3.3 by schorsch, Mon Jul 14 22:23:59 2003 UTC

# Line 4 | Line 4
4   */
5   #ifndef _RAD_RTMISC_H_
6   #define _RAD_RTMISC_H_
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
7  
8   #include  <stdlib.h>
9                                          /* memory operations */
# Line 15 | Line 12 | extern "C" {
12   #define  copystruct(d,s)        memcpy((void *)(d),(void *)(s),sizeof(*(d)))
13   #else
14   #define  copystruct(d,s)        (*(d) = *(s))
15 + #endif
16 +
17 + #ifdef __cplusplus
18 + extern "C" {
19   #endif
20  
21                                          /* defined in bmalloc.c */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines