mirror of https://github.com/lianthony/NT4.0
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.
19 lines
362 B
19 lines
362 B
// ASSERT.h -- Support for assertions...
|
|
|
|
#ifndef __ASSERT_H__
|
|
|
|
#define __ASSERT_H__
|
|
|
|
#ifdef _DEBUG
|
|
#define ASSERT(fTest) ((fTest) ? (void)0 : AssertionFailure(__FILE__, __LINE__))
|
|
#else
|
|
#define ASSERT(fTest) ((void) 0)
|
|
#endif
|
|
|
|
void AssertionFailure(PSZ pszFileName, int nLine);
|
|
|
|
extern HWND hwndMain;
|
|
|
|
void SetMainWindow(HWND hwnd);
|
|
|
|
#endif // __ASSERT_H__
|