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

Comparing ray/src/meta/mgvars.h (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 1.3 by schorsch, Fri Nov 14 00:14:40 2003 UTC

# Line 6 | Line 6
6   *
7   *     Greg Ward Larson
8   */
9 + #ifndef _RAD_MGVARS_H_
10 + #define _RAD_MGVARS_H_
11  
12 + #include <errno.h>
13 +
14 + #include "calcomp.h"
15 +
16 + #ifdef __cplusplus
17 + extern "C" {
18 + #endif
19 +
20   /*
21   *  Data arrays are used to store point data.
22   */
# Line 100 | Line 110 | extern VARIABLE  cparam[MAXCUR][NCVARS];       /* the curve
110  
111   extern VARIABLE  *vlookup();
112  
113 < extern double  varvalue(), funvalue();
113 > #define  mgclear(vname)         undefine(vlookup(vname))
114  
115 < extern int  errno;
115 > extern void mgclearall(void);
116 > extern void mgload(char *file);
117 > extern void mgsave(char *file);
118 > extern void setmgvar(char *fname, FILE *fp, char *string);
119 > extern int mgcurve(int c, int (*f)());
120 > extern void mgtoa(register char *s, VARIABLE *vp);
121  
122 < #define  mgclear(vname)         undefine(vlookup(vname))
122 >
123 > #ifdef __cplusplus
124 > }
125 > #endif
126 > #endif /* _RAD_MGVARS_H_ */
127 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines