ReactOS 0.4.16-dev-88-ga65b6ae
assert.h File Reference
#include <crtdefs.h>
Include dependency graph for assert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define assert(_Expression)   (void)((!!(_Expression)) || (_assert(#_Expression,__FILE__,__LINE__),0))
 
#define wassert(_Expression)   (void)((!!(_Expression)) || (_wassert(_CRT_WIDE(#_Expression),_CRT_WIDE(__FILE__),__LINE__),0))
 

Functions

_CRTIMP void __cdecl _assert (_In_z_ const char *_Message, _In_z_ const char *_File, _In_ unsigned _Line)
 
_CRTIMP void __cdecl _wassert (_In_z_ const wchar_t *_Message, _In_z_ const wchar_t *_File, _In_ unsigned _Line)
 

Macro Definition Documentation

◆ assert

#define assert (   _Expression)    (void)((!!(_Expression)) || (_assert(#_Expression,__FILE__,__LINE__),0))

Definition at line 44 of file assert.h.

◆ wassert

#define wassert (   _Expression)    (void)((!!(_Expression)) || (_wassert(_CRT_WIDE(#_Expression),_CRT_WIDE(__FILE__),__LINE__),0))

Definition at line 48 of file assert.h.

Function Documentation

◆ _assert()

_CRTIMP void __cdecl _assert ( _In_z_ const char _Message,
_In_z_ const char _File,
_In_ unsigned  _Line 
)

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

◆ _wassert()

_CRTIMP void __cdecl _wassert ( _In_z_ const wchar_t _Message,
_In_z_ const wchar_t _File,
_In_ unsigned  _Line 
)