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

Last change on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago

svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain; charset=Shift_JIS
File size: 396 bytes
Line 
1#include <string>
2
3#pragma once
4
5#define MyAssertMsg(expr, msg) (void)( expr || Jenga::AssertReport( __FILE__, __LINE__, msg ) )
6#define MyAssert(expr) (void)( expr || Jenga::AssertReport( __FILE__, __LINE__, "" ) )
7
8namespace Jenga
9{
10
11
12bool AssertReport( const char *lpszFilePath, int line, const char *msg );
13bool AssertReport( const char *lpszFilePath, int line, const std::string &msg );
14
15
16}
Note: See TracBrowser for help on using the repository browser.