Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
523 B

  1. #ifndef _WORDBREAKASSERT_H_
  2. #define _WORDBREAKASSERT_H_
  3. #include <windows.h>
  4. #if defined(__cplusplus)
  5. extern "C" {
  6. #endif
  7. // Debugging stuff goes here
  8. #if defined(_DEBUG)
  9. #include <stdio.h>
  10. void __cdecl AssertCore(BOOL f, char *pChErrorT, char *pchFile, int nLine);
  11. #define Assert(_f_, _pChErrorT_) AssertCore(_f_, _pChErrorT_, __FILE__ , __LINE__)
  12. BOOL FAlertContinue(char *pchAlert);
  13. #else
  14. #define Assert(_f_, _pChErrorT_)
  15. #define FAlertContinue(_pchAlert_) TRUE
  16. #endif
  17. #if defined(__cplusplus)
  18. }
  19. #endif
  20. #endif