cacao
Release 0.1.03-dev
Compute And Control For Adaptive Optics
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
putsym
symrec * putsym()
sym_table
symrec * sym_table
symrec::fnctptr
double(* fnctptr)()
Definition:
calc.h:10
symrec::type
int type
Definition:
calc.h:7
getsym
symrec * getsym()
symrec::next
struct symrec * next
Definition:
calc.h:12
symrec
Definition:
calc.h:4
symrec::value
union symrec::@0 value
symrec::name
char * name
Definition:
calc.h:6
symrec::var
double var
Definition:
calc.h:9
src
CommandLineInterface
calc.h
Generated on Tue Apr 7 2020 11:54:16 for cacao by
1.8.13