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.18 by greg, Thu Apr 29 22:32:11 2004 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);
# Line 141 | Line 142 | extern void    libupdate(char *fn);
142                                          /* defined in calprnt.c */
143   extern void     eprint(EPNODE *ep, FILE *fp);
144   extern void     dprint(char *name, FILE *fp);
144                                        /* defined in savestr.c */
145 extern char     *savestr(char *str);
146 extern void     freestr(char *s);
147 extern int      shash(char *s);
148                                        /* defined in ealloc.c */
149 extern char     *emalloc(unsigned int n);
150 extern char     *ecalloc(unsigned int ne, unsigned int es);
151 extern char     *erealloc(char *cp, unsigned int n);
152 extern void     efree(char *cp);
145                                          /* defined by client */
146   extern double   chanvalue(int n);
147  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines