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
555 B
30 lines
555 B
#ifndef _WORDBREAKASSERT_H_
|
|
#define _WORDBREAKASSERT_H_
|
|
|
|
#include <windows.h>
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
// Debugging stuff goes here
|
|
#if defined(_DEBUGXX)
|
|
|
|
#include <stdio.h>
|
|
void __cdecl AssertCore(BOOL f, char *pChErrorT, char *pchFile, int nLine);
|
|
#define Assert(_f_, _pChErrorT_) AssertCore(_f_, _pChErrorT_, __FILE__ , __LINE__)
|
|
BOOL FAlertContinue(char *pchAlert);
|
|
|
|
#else
|
|
|
|
#define Assert(_f_, _pChErrorT_)
|
|
#define FAlertContinue(_pchAlert_) TRUE
|
|
#endif
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|