home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / DesktopDoubler / Common / Headers / MacPrint.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-06-25  |  653 b   |  32 lines  |  [TEXT/CWIE]

  1. #ifndef _MACPRINT_
  2. #define _MACPRINT_
  3.  
  4. #include <MacTypes.h>
  5. #include <stdarg.h>
  6. #include <stdlib.h>
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12.  
  13. // Default: MacPrintEnabled false
  14. #ifndef MACPRINTENABLED
  15.     #define MACPRINTENABLED            0
  16. #endif
  17.  
  18.  
  19. void MacPrint_printf(const char *format,...);
  20. void MacPrint_vprintf(const char *format,va_list arg);
  21. void MacPrint_printmem(const void *data,size_t len);
  22. void MacPrint_fprintf(const char *log,const char *format,...);
  23. void MacPrint_vfprintf(const char *log,const char *format,va_list arg);
  24. void MacPrint_fprintmem(const char *log,const void *data,size_t len);
  25.  
  26.  
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif /* _MACPRINT_ */
  32.