AdaptiveOpticsControl
calc.h
Go to the documentation of this file.
1 
2 
3 /* Data type for links in the chain of symbols. */
4 struct symrec
5 {
6  char *name; /* name of symbol */
7  int type; /* type of symbol: either VAR or FNCT */
8  union {
9  double var; /* value of a VAR */
10  double (*fnctptr)(); /* value of a FNCT */
11  } value;
12  struct symrec *next; /* link field */
13 };
14 
15 typedef struct symrec symrec;
16 
17 /* The symbol table: a chain of `struct symrec'. */
18 extern symrec *sym_table;
19 
20 symrec *putsym ();
21 symrec *getsym ();
22 
symrec * putsym()
symrec * sym_table
double(* fnctptr)()
Definition: calc.h:10
int type
Definition: calc.h:7
symrec * getsym()
struct symrec * next
Definition: calc.h:12
Definition: calc.h:4
union symrec::@0 value
char * name
Definition: calc.h:6
double var
Definition: calc.h:9