File: plantbl.h

package info (click to toggle)
astronomical-almanac 5.6-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,824 kB
  • sloc: ansic: 27,320; makefile: 169; xml: 109; sh: 1
file content (53 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

#ifdef _MSC_VER
#if _MSC_VER < 1000
/* Microsoft C version 7 or earlier */
#define FAR far
#else
/* Microsoft Visual C, 32 bit compiler */
#define FAR 
#endif
#else
#ifdef __BORLANDC__
#if __BORLANDC__ < 0x0550
/* 16-bit Borland compiler */
#define FAR __far
#else
#define FAR 
#endif
#else
#define FAR 
#endif
#endif

#define NARGS 18

#ifdef _MSC_VER
#define SIGNED
#else
  /* On some systems such as Silicon Graphics, char is unsigned
     by default.  */
#ifdef vax
  /* VAX CC rejects "signed char."  */
#define SIGNED
#else
#ifdef __STDC__
#define SIGNED signed
#else
#define SIGNED
#endif
#endif
#endif

struct plantbl {
  char maxargs;
  char max_harmonic[NARGS];
  char max_power_of_t;
  char SIGNED FAR *arg_tbl;
  void FAR *lon_tbl;
  void FAR *lat_tbl;
  void FAR *rad_tbl;
  double distance;
  double timescale;
  double trunclvl;
};