4 Revision 1.11 2000/01/05 08:20:39 markster
5 Version 0.1.12 from FTP
7 Revision 1.2 2000/01/05 08:20:39 markster
8 Some OSS fixes and a few lpc changes to make it actually work
10 * Revision 1.2 1996/08/20 20:26:28 jaf
11 * Any typedef defining a type that was used in lpc10_encoder_state or
12 * lpc10_decoder_state struct's was commented out here and added to
15 * Revision 1.1 1996/08/19 22:32:13 jaf
24 * SCCS ID: @(#)f2c.h 1.2 96/05/19
27 /* f2c.h -- Standard Fortran to C header file */
29 /** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed."
31 - From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */
38 /*typedef long int integer;*/
39 /*typedef INT32 integer;*/
40 /*typedef short int shortint;*/
41 /*typedef INT16 shortint;*/
42 /*typedef float real;*/
43 /* doublereal only used for function arguments to sqrt, exp, etc. */
44 typedef double doublereal;
45 /* 32 bits seems wasteful, but there really aren't that many logical
46 * variables around, and making them 32 bits could avoid word
47 * alignment problems, perhaps. */
48 /*typedef long int logical;*/
49 /*typedef INT32 logical;*/
50 /* The following types are not used in the translated C code for the
51 * LPC-10 coder, but they might be needed by the definitions down
52 * below, so they don't cause compilation errors. */
53 typedef char *address;
54 typedef struct { real r, i; } complex;
55 typedef struct { doublereal r, i; } doublecomplex;
56 typedef short int shortlogical;
57 typedef char logical1;
58 typedef char integer1;
59 /* typedef long long longint; */ /* system-dependent */
64 /* Extern is for use with -E */
77 typedef long int flag;
78 typedef long int ftnlen;
79 typedef long int ftnint;
82 /*external read, write*/
91 /*internal read, write*/
121 /*rewind, backspace, endfile*/
133 ftnint *inex; /*parameters in standard's order*/
159 union Multitype { /* for multiple entry points */
170 typedef union Multitype Multitype;
172 /*typedef long int Long;*/ /* No longer used; formerly in Namelist */
174 struct Vardesc { /* for Namelist */
180 typedef struct Vardesc Vardesc;
187 typedef struct Namelist Namelist;
189 #define abs(x) ((x) >= 0 ? (x) : -(x))
190 #define dabs(x) (doublereal)abs(x)
191 #define min(a,b) ((a) <= (b) ? (a) : (b))
192 #define max(a,b) ((a) >= (b) ? (a) : (b))
193 #define dmin(a,b) (doublereal)min(a,b)
194 #define dmax(a,b) (doublereal)max(a,b)
196 /* procedure parameter types for -A and -C++ */
198 #define F2C_proc_par_types 1
200 typedef int /* Unknown procedure type */ (*U_fp)(...);
201 typedef shortint (*J_fp)(...);
202 typedef integer (*I_fp)(...);
203 typedef real (*R_fp)(...);
204 typedef doublereal (*D_fp)(...), (*E_fp)(...);
205 typedef /* Complex */ VOID (*C_fp)(...);
206 typedef /* Double Complex */ VOID (*Z_fp)(...);
207 typedef logical (*L_fp)(...);
208 typedef shortlogical (*K_fp)(...);
209 typedef /* Character */ VOID (*H_fp)(...);
210 typedef /* Subroutine */ int (*S_fp)(...);
212 typedef int /* Unknown procedure type */ (*U_fp)();
213 typedef shortint (*J_fp)();
214 typedef integer (*I_fp)();
215 typedef real (*R_fp)();
216 typedef doublereal (*D_fp)(), (*E_fp)();
217 typedef /* Complex */ VOID (*C_fp)();
218 typedef /* Double Complex */ VOID (*Z_fp)();
219 typedef logical (*L_fp)();
220 typedef shortlogical (*K_fp)();
221 typedef /* Character */ VOID (*H_fp)();
222 typedef /* Subroutine */ int (*S_fp)();
224 /* E_fp is for real functions when -R is not specified */
225 typedef VOID C_f; /* complex function */
226 typedef VOID H_f; /* character function */
227 typedef VOID Z_f; /* double complex function */
228 typedef doublereal E_f; /* real function with -R not specified */
230 /* undef any lower-case symbols that your C compiler predefines, e.g.: */
232 #ifndef Skip_f2c_Undefs