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

Comparing ray/src/common/calcomp.h (file contents):
Revision 2.15 by greg, Mon Aug 4 19:20:26 2003 UTC vs.
Revision 2.16 by greg, Mon Aug 4 22:37:53 2003 UTC

# Line 25 | Line 25 | typedef struct {
25      char  *fname;               /* function name */
26      short  nargs;               /* # of required arguments */
27      short  atyp;                /* assignment type (':' or '=') */
28 <    double  (*f)();             /* pointer to function */
28 >    double  (*f)(char *);       /* pointer to function */
29   }  LIBR;                /* a library function */
30  
31   typedef struct epnode {
# Line 130 | Line 130 | extern int     isconstfun(EPNODE *ep);
130                                          /* defined in calfunc.c */
131   extern int      fundefined(char *fname);
132   extern double   funvalue(char *fname, int n, double *a);
133 < extern void     funset(char *fname, int nargs, int assign, double (*fptr)());
133 > extern void     funset(char *fname, int nargs, int assign,
134 >                                double (*fptr)(char *));
135   extern int      nargum(void);
136   extern double   argument(int n);
137   extern VARDEF   *argf(int n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines