coffee
Coronagraph Optimization For Fast Exoplanet Exploration
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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::value
union symrec::@5 value
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::name
char * name
Definition:
calc.h:6
symrec::var
double var
Definition:
calc.h:9
src
CommandLineInterface
calc.h
Generated on Sat Jun 2 2018 12:21:59 for coffee by
1.8.11