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.12 by greg, Fri Jun 27 06:53:21 2003 UTC vs.
Revision 2.14 by greg, Fri Nov 21 07:15:29 2003 UTC

# Line 11 | Line 11 | extern "C" {
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 +
21 + #ifdef FUN_ARGLIST
22 + extern int  o_default(FUN_ARGLIST);
23 + #else
24 + extern int  o_default();
25 + #endif
26                                  /* object types in decreasing frequency */
27   #define  OBJ_FACE       0               /* polygon */
28   #define  OBJ_CONE       1               /* cone */
# Line 99 | Line 109 | extern FUN  ofun[];                    /* our type list */
109   #define  hasfunc(t)     (ofun[t].flags & (T_F|T_D|T_I))
110   #define  hastext(t)     (ofun[t].flags & T_E)
111   #define  isflat(t)      ((t)==OBJ_FACE || (t)==OBJ_RING)
102
103 extern int  o_default();
112  
113   #define  ALIASKEY       "alias"                 /* alias keyword */
114   #define  ALIASMOD       "inherit"               /* inherit target modifier */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines