beta-0.89.2
[luatex.git] / source / texk / web2c / web2c / common.defines
bloba83950de762b66c4be2b7f03ff785f25f2ef8abe
1 {common.defines.  Public domain.
3  This file is concatenated by ./convert to the beginning of the Pascal
4  code that tangle outputs.  The idea is to put all these symbols, which
5  can be defined as macros or functions, or as part of standard C, into
6  web2c's symbol table, so that we can access them from a change file.
7  Some are standard Pascal functions, others are simply used in our
8  implementation.
10  web2c.yacc can parse these @define statements.}
12 {The fields in the memory_word structure, defined in
13  `mfware/gftodmem.h' and `common/texmf.h'.}
14 @define @field qqqq;
15 @define @field sc;
17 {These fields are the ones defined by the getopt library.}
18 @define @field name;
19 @define @field hasarg;
20 @define @field flag;
21 @define @field val;
23 {This is used by \TeX--XeT.}
24 {@define @field rh;}
26 @define const false;
27 @define const FOPENRBINMODE;
28 @define const FOPENRMODE;
29 @define const input;
30 @define const kpsebibformat;
31 @define const kpsebstformat;
32 @define const kpsedvipsconfigformat;
33 @define const kpsefontmapformat;
34 @define const kpselastformat;
35 @define const kpsegfformat;
36 @define const kpsemfformat;
37 @define const kpsemfpoolformat;
38 @define const kpsemftformat;
39 @define const kpsempformat;
40 @define const kpsemppoolformat;
41 @define const kpseocpformat;
42 @define const kpseofmformat;
43 @define const kpseoplformat;
44 @define const kpseotpformat;
45 @define const kpseovfformat;
46 @define const kpseovpformat;
47 @define const kpsepkformat;
48 @define const kpsetexformat;
49 @define const kpsetexpoolformat;
50 @define const kpsetfmformat;
51 @define const kpsevfformat;
52 @define const kpsewebformat;
53 @define const kpsesrccmdline;
54 @define const kpsesrccompile;
55 @define const maxint;
56 @define const nil;
57 @define const output;
58 @define const stderr;
59 @define const stdin;
60 @define const stdout;
61 @define const true;
63 @define const BIBTEXHELP;
64 @define const DVICOPYHELP;
65 @define const DVITOMPHELP;
66 @define const DVITYPEHELP;
67 @define const GFTODVIHELP;
68 @define const GFTOPKHELP;
69 @define const GFTYPEHELP;
70 @define const MFTHELP;
71 @define const ODVICOPYHELP;
72 @define const ODVITYPEHELP;
73 @define const OFM2OPLHELP;
74 @define const OPL2OFMHELP;
75 @define const OTANGLEHELP;
76 @define const OVP2OVFHELP;
77 @define const OVF2OVPHELP;
78 @define const PATGENHELP;
79 @define const PBIBTEXHELP;
80 @define const PDVITYPEHELP;
81 @define const PKTOGFHELP;
82 @define const PKTYPEHELP;
83 @define const PLTOTFHELP;
84 @define const POOLTYPEHELP;
85 @define const PPLTOTFHELP;
86 @define const PTFTOPLHELP;
87 @define const TANGLEHELP;
88 @define const TFTOPLHELP;
89 @define const UPBIBTEXHELP;
90 @define const UPDVITYPEHELP;
91 @define const UPPLTOTFHELP;
92 @define const UPTFTOPLHELP;
93 @define const VFTOVPHELP;
94 @define const VPTOVFHELP;
95 @define const WEAVEHELP;
97 @define function abs ();
98 @define function addressof ();
99 @define function aopenin ();
100 @define function aopenout ();
101 @define function atof ();
102 @define function atoi ();
103 @define function atou ();
104 @define function basename ();
105 @define function basenamechangesuffix ();
106 @define function chartostring ();
107 @define function chr ();
108 @define function cmdline ();
109 @define function conststringcast ();
110 @define function eof ();
111 @define function eoln ();
112 @define function extendfilename ();
113 @define function fabs ();
114 @define function feof ();
115 @define function findsuffix ();
116 @define function floor ();
117 @define function ftell ();
118 @define function fopen ();
119 @define function getc ();
120 @define function getoptlongonly ();
121 @define function ISDIRSEP ();
122 @define function kpsefindfile ();
123 @define function kpsefindmf ();
124 @define function kpsefindmft ();
125 @define function kpsefindofm ();
126 @define function kpsefindovf ();
127 @define function kpsefindtex ();
128 @define function kpsefindtfm ();
129 @define function kpsefindvf ();
130 @define function kpseinnameok ();
131 @define function kpseopenfile ();
132 @define function kpseoutnameok ();
133 @define function kpsevarvalue ();
134 @define function inputint ();
135 @define function int64cast ();
136 @define function isprint ();
137 @define function makebinaryfile ();
138 @define function makesuffix ();
139 @define function odd ();
140 @define function ord ();
141 @define function round ();
142 @define function strcmp ();
143 @define function stringcast ();
144 @define function strlen ();
145 @define function strtol ();
146 @define function trunc ();
147 @define function ucharcast ();
148 @define function ustringcast ();
149 @define function xcalloc ();
150 @define function xcallocarray ();
151 @define function xftell ();
152 @define function xmalloc ();
153 @define function xmallocarray ();
154 @define function xrealloc ();
155 @define function xreallocarray ();
156 @define function xstrdup ();
157 @define function XTALLOC ();
159 @define procedure aclose ();
160 @define procedure BIBXRETALLOC (); {For BibTeX.}
161 @define procedure BIBXRETALLOCNOSET ();
162 @define procedure BIBXRETALLOCSTRING ();
163 @define procedure decr ();
164 @define procedure fflush (); {can't keep |break|, since it's a reserved word}
165 @define procedure free ();
166 @define procedure fprintreal ();
167 @define procedure fputs ();
168 @define procedure incr ();
169 @define procedure input2ints ();
170 @define procedure input3ints ();
171 @define procedure kpseinitprog ();
172 @define procedure kpsesetprogramname ();
173 @define procedure kpseresetprogramname ();
174 @define procedure kpsesetprogramenabled ();
175 @define procedure libcfree ();
176 @define procedure printcstring ();
177 @define procedure printreal ();
178 @define procedure printversionandexit ();
179 @define procedure putbyte ();
180 @define procedure read ();
181 @define procedure readln ();
182 @define procedure recorderchangefilename ();
183 @define procedure reset ();
184 @define procedure resetbin ();
185 @define procedure rewrite ();
186 @define procedure rewritebin ();
187 @define procedure setpaths ();
188 @define procedure setupboundvariable ();
189 @define procedure strcat ();
190 @define procedure strcpy ();
191 @define procedure usage ();
192 @define procedure usagehelp ();
193 @define procedure uexit ();
194 @define procedure vgetc ();
195 @define procedure write ();
196 @define procedure writedvi ();
197 @define procedure writeln ();
198 @define procedure xfclose ();
199 @define procedure xfseek ();
201 @define type boolean = 0..1;
202 @define type cinttype;
203 @define type constcstring;
204 @define type constw2custring;
205 @define type cstring;
206 @define type char = 0..255;
207 @define type getoptstruct;
208 @define type integer;
209 @define type integer64;
210 @define type longinteger;
211 @define type memoryword; {for gftodvi, TeX, and Metafont}
212 @define type real;
213 @define type text;
214 @define type w2custring;
216 @define var argc;
217 @define var argv;
218 @define var kpathseaversionstring;
219 @define var promptfilenamehelpmsg;
220 @define var recorderenabled;
221 @define var versionstring;
223 {These are all set by getopt.  optiontable is really _getopt_long_options.}
224 @define var optarg;
225 @define var optind;
226 @define var optiontable;