mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
[XDK/DDK]
Improve debugprint in __assert_annotationA/W svn path=/trunk/; revision=64905
This commit is contained in:
parent
93d7ffd181
commit
5c0f6850a4
2 changed files with 4 additions and 4 deletions
|
@ -11061,9 +11061,9 @@ RtlCheckBit(
|
|||
# define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
|
||||
#else
|
||||
# define __assert_annotationA(msg) \
|
||||
DbgPrint("Assertion %s(%d): %s", __FILE__, __LINE__, msg)
|
||||
DbgPrint("Assertion failed at %s(%d): %s\n", __FILE__, __LINE__, msg)
|
||||
# define __assert_annotationW(msg) \
|
||||
DbgPrint("Assertion %s(%d): %S", __FILE__, __LINE__, msg)
|
||||
DbgPrint("Assertion failed at %s(%d): %S\n", __FILE__, __LINE__, msg)
|
||||
#endif
|
||||
|
||||
#define NT_VERIFY(exp) \
|
||||
|
|
|
@ -3113,9 +3113,9 @@ RtlCheckBit(
|
|||
# define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
|
||||
#else
|
||||
# define __assert_annotationA(msg) \
|
||||
DbgPrint("Assertion %s(%d): %s", __FILE__, __LINE__, msg)
|
||||
DbgPrint("Assertion failed at %s(%d): %s\n", __FILE__, __LINE__, msg)
|
||||
# define __assert_annotationW(msg) \
|
||||
DbgPrint("Assertion %s(%d): %S", __FILE__, __LINE__, msg)
|
||||
DbgPrint("Assertion failed at %s(%d): %S\n", __FILE__, __LINE__, msg)
|
||||
#endif
|
||||
|
||||
#define NT_VERIFY(exp) \
|
||||
|
|
Loading…
Reference in a new issue