File: interface.h

package info (click to toggle)
phylip 3.573c-7
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 2,676 kB
  • ctags: 4,689
  • sloc: ansic: 50,765; pascal: 3,148; makefile: 187; sh: 19
file content (42 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (3)
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
/* interface.h:  access to interface.c, a 2 window text/graphics
    environment, with a scrolling text window and c-like I/O functions.
    This also sets up some defines for the standard c stuff. */

#define printf  macprintf
#define gets    macgets
#define scanf   macscanf
#define puts    macputs
#undef putchar
#define putchar macputchar
#undef getchar
#define getchar() '\n'
#define fflush(file) macflush()
#define exit(x) eventloop()
void macprintf(char *,...);
int macscanf(char *,...);
void macsetup(char *,char *);
void macgets(char *);
void macputs(char *);
void eventloop();
void queryevent();
void fixmacfile(char *);

#ifdef THINK_C
#define MAC
#else
#ifdef GENERATINGPOWERPC
#undef METRO
#undef MAC
#define METRO
#define MAC
#else
#ifdef GENERATING68K
#undef METRO
#undef MAC
#define METRO
#define MAC
#endif
#endif
#endif