1 #ifndef EXEC_RAWFMT_H
    2 #define EXEC_RAWFMT_H
    3 
    4 /*
    5 	exec rawfmt include (V50)
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifdef __cplusplus
   11 
   12 /*
   13  * Used to act like sprintf
   14  */
   15 #define RAWFMTFUNC_STRING reinterpret_cast<APTR (*)(APTR, UBYTE)>(0)
   16 
   17 /*
   18  * Used to act like kprintf
   19  */
   20 #define RAWFMTFUNC_SERIAL reinterpret_cast<APTR (*)(APTR, UBYTE)>(1)
   21 
   22 /*
   23  * Used to count the chars needed.
   24  * PutChData = (ULONG*) to the counter
   25  */
   26 #define RAWFMTFUNC_COUNT reinterpret_cast<APTR (*)(APTR, UBYTE)>(2)
   27 
   28 #else
   29 
   30 /*
   31  * Used to act like sprintf
   32  */
   33 #define RAWFMTFUNC_STRING  0
   34 
   35 /*
   36  * Used to act like kprintf
   37  */
   38 #define RAWFMTFUNC_SERIAL  1
   39 
   40 /*
   41  * Used to count the chars needed.
   42  * PutChData = (ULONG*) to the counter
   43  */
   44 #define	RAWFMTFUNC_COUNT   2
   45 
   46 #endif
   47 
   48 #endif