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

Comparing ray/src/common/otypes.h (file contents):
Revision 2.10 by greg, Tue Mar 11 19:29:04 2003 UTC vs.
Revision 2.13 by greg, Mon Sep 15 17:01:52 2003 UTC

# Line 2 | Line 2
2   /*
3   *  otypes.h - defines for object types.
4   */
5 + #ifndef _RAD_OTYPES_H_
6 + #define _RAD_OTYPES_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
6 #include "copyright.h"
7
11   typedef struct {
12          char  *funame;                  /* function name */
13          int  flags;                     /* type flags */
14 + #ifdef FUN_ARGLIST
15 +        int  (*funp)(FUN_ARGLIST);      /* pointer to function */
16 + #else
17          int  (*funp)();                 /* pointer to function */
18 + #endif
19   }  FUN;
20                                  /* object types in decreasing frequency */
21   #define  OBJ_FACE       0               /* polygon */
# Line 154 | Line 161 | extern int  o_default();
161                                  { "prism1",     T_M|T_F|T_LV,   o_default }, \
162                                  { "prism2",     T_M|T_F|T_LV,   o_default }, \
163                          }
164 +
165 +
166 + #ifdef __cplusplus
167 + }
168 + #endif
169 + #endif /* _RAD_OTYPES_H_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines