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

Comparing ray/src/rt/func.h (file contents):
Revision 2.3 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.6 by schorsch, Mon Jul 14 22:24:00 2003 UTC

# Line 4 | Line 4
4   *
5   * Include after ray.h
6   */
7 + #ifndef _RAD_FUNC_H_
8 + #define _RAD_FUNC_H_
9  
8 #include "copyright.h"
9
10   #include  "calcomp.h"
11  
12 + #ifdef __cplusplus
13 + extern "C" {
14 + #endif
15 +
16   #define  MAXEXPR        9       /* maximum expressions in modifier */
17  
18   typedef struct {
# Line 20 | Line 24 | typedef struct {
24   extern XF  unitxf;              /* identity transform */
25   extern XF  funcxf;              /* current transform */
26  
23 #ifdef NOPROTO
27  
25 extern MFUNC    *getfunc();
26 extern void     freefunc();
27 extern int      setfunc();
28 extern void     loadfunc();
29
30 #else
31
28   extern MFUNC    *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd);
29   extern void     freefunc(OBJREC *m);
30   extern int      setfunc(OBJREC *m, RAY *r);
31   extern void     loadfunc(char *fname);
32  
33 +
34 + #ifdef __cplusplus
35 + }
36   #endif
37 + #endif /* _RAD_FUNC_H_ */
38 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines