home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / PowerPlant / C3DMFViewer / Sources / QD3D Debug Macros.h < prev    next >
Encoding:
Text File  |  1995-12-04  |  350 b   |  13 lines  |  [TEXT/CWIE]

  1. //
  2. //    QD3D Debug Macros.h
  3. //
  4.  
  5. #pragma once
  6.  
  7. #include <UException.h>
  8. #include <QD3DErrors.h>
  9.  
  10. #define ThrowIfQ3Error_()    ThrowIfOSErr_(Q3Error_Get(0))
  11. #define ThrowIfQ3Warning_() ThrowIfOSErr_(Q3Warning_Get(0))
  12. #define ThrowIfQ3Notice_()    ThrowIfOSErr_(Q3Notice_Get(0))
  13. #define ThrowIfQ3Any_()        ThrowIfQ3Error_(); ThrowIfQ3Warning_(); ThrowIfQ3Notice_()