Last change
on this file was 829, checked in by イグトランス (egtra), 13 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:
485 bytes
|
Line | |
---|
1 | #include "stdafx.h"
|
---|
2 |
|
---|
3 | bool Jenga::AssertReport( const char *lpszFilePath, int line, const char *msg )
|
---|
4 | {
|
---|
5 | char temporary[8192];
|
---|
6 | sprintf( temporary, "Application Error!\n\nFile: %s\nLine: %d\nMessage: %s", lpszFilePath, line, msg );
|
---|
7 | MessageBox( NULL, temporary, "Application Error!", MB_OK | MB_ICONSTOP );
|
---|
8 | return true;
|
---|
9 | }
|
---|
10 |
|
---|
11 | bool Jenga::AssertReport( const char *lpszFilePath, int line, const std::string &msg )
|
---|
12 | {
|
---|
13 | Jenga::AssertReport( lpszFilePath, line, msg.c_str() );
|
---|
14 | return true;
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.