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

Comparing ray/src/common/vars.h (file contents):
Revision 2.6 by greg, Fri Jun 27 06:53:22 2003 UTC vs.
Revision 2.7 by schorsch, Wed Jul 30 10:11:06 2003 UTC

# Line 8 | Line 8
8   extern "C" {
9   #endif
10  
11 < typedef struct {
11 > typedef struct variable_s {
12          char    *name;          /* variable name */
13          short   nick;           /* # characters required for nickname */
14          short   nass;           /* # assignments made */
15          char    *value;         /* assigned value(s) */
16 <        void    (*fixval)();    /* assignment checking function */
16 >        void    (*fixval)(struct variable_s *); /* assignment checking function */
17   } VARIABLE;             /* a variable-value pair */
18  
19   /**** The following variables should be declared by calling program ****/
# Line 48 | Line 48 | extern char    *nvalue();
48  
49  
50   extern void     loadvars(char *rfname);
51 < extern int      setvariable(char *ass, VARIABLE *(*mv)());
51 > extern int      setvariable(char *ass, VARIABLE *(*mv)(char*));
52   extern VARIABLE *matchvar(char *nam);
53   extern char     *nvalue(int vn, int n);
54   extern void     checkvalues(void);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines