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

Comparing ray/src/common/standard.h (file contents):
Revision 2.23 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 2.25 by schorsch, Sat Jun 7 12:50:20 2003 UTC

# Line 2 | Line 2
2   /*
3   *      Miscellaneous definitions required by many routines.
4   */
5
5   #ifndef _RAD_STANDARD_H_
6   #define _RAD_STANDARD_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
11   #include "copyright.h"
12  
# Line 19 | Line 21
21   #include  "platform.h"
22   #include  "mat4.h"
23  
24 +
25 + #ifndef NULL
26 + #define NULL 0
27 + #endif
28 +
29                                  /* regular transformation */
30   typedef struct {
31          MAT4  xfm;                              /* transform matrix */
# Line 203 | Line 210 | extern void    wputs(char *s);
210   extern void     quit(int code);
211  
212  
213 + #ifdef __cplusplus
214 + }
215 + #endif
216   #endif /* _RAD_STANDARD_H_ */
217 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines