w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

t1part.h
Go to the documentation of this file.
1 /*t1part.h from t1part.c version 1.59 beta (c)1994, 1996
2 by Sergey Lesenko
3 lesenko@desert.ihep.su
4  *
5  * It is distributed with no warranty of any kind.
6  * You may modify and use this program. It can be included
7  * in any distribution, commercial or otherwise, so long as
8  * copyright notice be preserved on all copies.
9  */
10 #ifdef KPATHSEA
11 #include <kpathsea/c-ctype.h>
12 #else /* not KPATHSEA */
13 #include <assert.h>
14 
15 #include <stdio.h>
16 #include <ctype.h>
17 #include <stdlib.h>
18 #include <string.h>
19 #endif /* not KPATHSEA */
20 
21 #define DVIPS
22 
23 /*
24 #define DOS
25 #define BORLANDC
26 */
27 
28 #ifdef DEBUG
29 
30 extern int debug_flag;
31 
32 #define D_VIEW_VECTOR (1<<8)
33 #define D_CALL_SUBR (1<<9)
34 
35 #endif
36 
37 #ifdef DVIPS
38 extern FILE *search();
39 #ifndef KPATHSEA
40 extern char *headerpath;
41 #endif /* not KPATHSEA */
42 #define psfopen(A,B) search(headerpath,A,B)
43 #else
44 #define psfopen(A,B) fopen(A,B)
45 #endif
46 
47 #ifdef KPATHSEA
48 #define OPEN_READ_BINARY FOPEN_RBIN_MODE
49 #else
50 #if defined(DOS) || defined(WIN32)
51 #define OPEN_READ_BINARY "rb"
52 #else
53 #define OPEN_READ_BINARY "r"
54 #endif
55 #endif /* not KPATHSEA */
56 
57 #ifdef DOS
58 typedef unsigned char ub1;
59 typedef unsigned long ub4;
60 #else
61 typedef unsigned char ub1;
62 typedef unsigned long int ub4;
63 #endif
64 
65 #ifdef BORLANDC
66 typedef unsigned char typetemp;
67 #define BORLAND_HUGE huge
68 #else
69 typedef unsigned char typetemp;
70 #define BORLAND_HUGE
71 #endif
72 
73 #ifdef BORLANDC
74 #include <alloc.h>
75 #define UniRealloc farrealloc
76 #define UniFree farfree
77 #else
78 #ifdef KPATHSEA
79 #define UniRealloc xrealloc
80 #define UniFree free
81 #else
82 #define UniRealloc realloc
83 #define UniFree free
84 #endif /* not KPATHSEA */
85 #endif
86 
87 #include "protos.h"
88 
89 #define NUM_LABEL 1024
90 #define BASE_MEM 16384
91 #define ADD_MEM 16384
92 
93 #define FLG_LOAD_BASE (1)
94 
95 extern unsigned char grid[];
96 extern unsigned char *line, *tmpline;
97 extern int loadbase;
98 extern struct Char *FirstCharB;
integer debug_flag
Definition: dvips.c:241
Definition: t1part.c:39
unsigned char * tmpline
Definition: t1part.h:96
unsigned long int ub4
Definition: t1part.h:62
struct Char * FirstCharB
Definition: t1part.c:61
unsigned char ub1
Definition: t1part.h:61
int loadbase
Definition: t1part.c:198
char * headerpath
Definition: dvips.c:181
FILE * search()
Definition: strsrch.cpp:65
unsigned char grid[]
Definition: t1part.c:186
unsigned char * line
Definition: process_score.c:29
unsigned char typetemp
Definition: t1part.h:69
#define FILE
Definition: t1stdio.h:34