LibreOffice Module tools (master) 1
|
Go to the source code of this file.
Macros | |
#define | DBG_TESTSOLARMUTEX() |
#define | DBG_ASSERT(sCon, aError) SAL_DETAIL_WARN_IF_FORMAT(!(sCon), "legacy.tools", "%s", aError) |
Typedefs | |
typedef void(* | DbgTestSolarMutexProc) () |
The facilities provided by this header are deprecated. More... | |
Functions | |
TOOLS_DLLPUBLIC void | DbgSetTestSolarMutex (DbgTestSolarMutexProc pParam) |
TOOLS_DLLPUBLIC void | DbgTestSolarMutex () |
#define DBG_ASSERT | ( | sCon, | |
aError | |||
) | SAL_DETAIL_WARN_IF_FORMAT(!(sCon), "legacy.tools", "%s", aError) |
#define DBG_TESTSOLARMUTEX | ( | ) |
typedef void(* DbgTestSolarMutexProc) () |
The facilities provided by this header are deprecated.
True assertions (that detect broken program logic) should use standard assert (which aborts if an assertion fails, and is controlled by the standard NDEBUG macro). Logging of warnings (e.g., about malformed input) should use the facilities provided by sal/log.hxx.
Because the assertion macro (DBG_ASSERT) has been used for true assertions as well as to log warnings, it maps to SAL_WARN instead of standard assert.
TOOLS_DLLPUBLIC void DbgSetTestSolarMutex | ( | DbgTestSolarMutexProc | pParam | ) |
Definition at line 40 of file debug.cxx.
References aDebugData.
TOOLS_DLLPUBLIC void DbgTestSolarMutex | ( | ) |
Definition at line 47 of file debug.cxx.
References aDebugData, and SAL_WARN_IF.