/* Some definitions that get appended to the `coerce.h' file that web2c outputs. */ /* $Id$ */ /* The C compiler ignores most unnecessary casts (i.e., casts of something to its own type). However, for structures, it doesn't. Therefore, we have to redefine these macros so they don't cast their argument (of type memoryword or fourquarters, respectively). */ #ifdef printword #undef printword #define printword(x) zprintword (x) #endif #ifdef tfmqqqq #undef tfmqqqq #define tfmqqqq(x) ztfmqqqq (x) #endif #ifdef eqdestroy #undef eqdestroy #define eqdestroy(x) zeqdestroy(x) #endif /* And we use the opportunity to declare a few functions that could not be declared in texmfmp.h, because they need typedefs not yet known at that point. */ extern strnumber getjobname (strnumber); #ifdef XeTeX /* XeTeX redefines "ASCII" types.... */ typedef packedUTF16code packedASCIIcode; #endif extern void calledit (packedASCIIcode *, poolpointer, integer, integer); #ifdef MF extern void blankrectangle (screencol, screencol, screenrow, screenrow); extern void paintrow (screenrow, pixelcolor, transspec, screencol); #if defined(MFLua) || defined(MFLuaJIT) #include #endif #endif extern strnumber makefullnamestring(void); #ifdef TeX extern string gettexstring (strnumber); /* Prototypes for source-specials functions... */ extern boolean isnewsource (strnumber, int); extern poolpointer makesrcspecial (strnumber, int); extern void remembersourceinfo (strnumber, int); #ifdef pdfTeX #include #endif /* pdfTeX */ #ifdef XeTeX #include #endif /* XeTeX */ #ifdef __SyncTeX__ #include #endif #endif /* TeX */