source: dev/trunk/ab5.0/jenga/include/MyAssert.h@ 771

Last change on this file since 771 was 738, checked in by dai, 16 years ago

MyAssert/MyAssertMsgの定義を追加。

File size: 391 bytes
Line 
1#pragma once
2
3#define MyAssertMsg(expr, msg) (void)( expr || Jenga::AssertReport( __FILE__, __LINE__, msg ) )
4#define MyAssert(expr) (void)( expr || Jenga::AssertReport( __FILE__, __LINE__, "" ) )
5
6namespace Jenga
7{
8
9
10bool AssertReport( const char *lpszFilePath, int line, const char *msg );
11bool AssertReport( const char *lpszFilePath, int line, const std::string &msg );
12
13
14}
Note: See TracBrowser for help on using the repository browser.