]>
Commit | Line | Data |
---|---|---|
dae2800a BP |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: funcmacro_debug.h | |
3 | // Purpose: Debugging function and macro group docs | |
4 | // Author: wxWidgets team | |
5 | // RCS-ID: $Id: funcmacro_gdi.h 52454 2008-03-12 19:08:48Z BP $ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | /** | |
10 | ||
11 | @defgroup group_funcmacro_debug Debugging | |
12 | @ingroup group_funcmacro | |
13 | ||
14 | Useful macros and functions for error checking and defensive programming. | |
9579c1d7 BP |
15 | wxWidgets defines three families of the assert-like macros: the wxASSERT() and |
16 | wxFAIL() macros only do anything if __WXDEBUG__ is defined (in other words, in | |
dae2800a | 17 | the debug build) but disappear completely in the release build. On the other |
9579c1d7 BP |
18 | hand, the wxCHECK() macros stay in release builds but a check failure doesn't |
19 | generate any user-visible effects. Finally, the compile time assertions don't | |
20 | happen during the run-time but result in the compilation error messages if the | |
21 | condition they check fail. | |
dae2800a | 22 | |
dbbca9fd FM |
23 | Related class group: @ref group_class_debugging. |
24 | ||
dae2800a BP |
25 | */ |
26 |