Last change
on this file since 824 was 818, checked in by イグトランス (egtra), 14 years ago |
Jenga/common/String.hに対するテストを追加
|
File size:
412 bytes
|
Rev | Line | |
---|
[818] | 1 | #include <string>
|
---|
| 2 |
|
---|
[738] | 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 |
|
---|
| 8 | namespace Jenga
|
---|
| 9 | {
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | bool AssertReport( const char *lpszFilePath, int line, const char *msg );
|
---|
| 13 | bool AssertReport( const char *lpszFilePath, int line, const std::string &msg );
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.