| 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 |
|
*/ |
| 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 |
> |
|