Back to index

tetex-bin  3.0
coerce.h
Go to the documentation of this file.
00001 /* Some definitions that get appended to the `coerce.h' file that web2c
00002    outputs.  */
00003 
00004 /* The C compiler ignores most unnecessary casts (i.e., casts of
00005    something to its own type).  However, for structures, it doesn't.
00006    Therefore, we have to redefine these macros so they don't cast
00007    cast their argument (of type memoryword or fourquarters,
00008    respectively).  */
00009 #ifdef printword
00010 #undef printword
00011 #define       printword(x)  zprintword (x)
00012 #endif
00013 
00014 #ifdef tfmqqqq
00015 #undef tfmqqqq
00016 #define tfmqqqq(x)   ztfmqqqq (x)
00017 #endif
00018 
00019 #ifdef eqdestroy
00020 #undef eqdestroy
00021 #define       eqdestroy(x)  zeqdestroy(x)
00022 #endif
00023 
00024 /* And we use the opportunity to declare a few functions that could not be
00025    declared in texmfmp.h, because they need typedefs not yet known at that
00026    point.  */
00027 extern strnumber getjobname P1H(void);
00028 
00029 #ifdef MP
00030 /* MP defined poolASCIIcode instead of packedASCIIcode, sigh. */
00031 typedef poolASCIIcode packedASCIIcode;
00032 #endif
00033 extern void calledit P4H(packedASCIIcode *, poolpointer, integer, integer);
00034 
00035 #ifdef MF
00036 extern void blankrectangle P4H(screencol, screencol, screenrow, screenrow);
00037 extern void paintrow P4H(screenrow, pixelcolor, transspec, screencol);
00038 #endif
00039 
00040 #ifdef TeX
00041 /* Prototypes for source-specials functions... */
00042 extern strnumber makefullnamestring();
00043 extern boolean isnewsource P2H(strnumber, int);
00044 extern poolpointer makesrcspecial P2H(strnumber, int);
00045 extern void remembersourceinfo P2H(strnumber, int);
00046 #endif
00047 
00048 #ifdef pdfTeX
00049 #include <pdftexdir/pdftex.h>
00050 #endif /* pdfTeX */
00051 
00052 #ifdef pdfeTeX
00053 #include <pdfetexdir/pdfetex.h>
00054 #endif /* pdfeTeX */
00055 
00056 #ifdef pdfxTeX
00057 #include <pdfxtexdir/pdfxtex.h>
00058 #endif /* pdfxTeX */