1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-05 00:27:30 +02:00
openrw/rwlib/source/rw/abort.cpp
Anonymous Maarten a1333360c5 rwlib: Add option to abort/break on failed checks or at request
- RW_ABORT/RW_ASSERT/RW_BREAKPOINT are only defined in debug mode
- the callback is needed to unlock the mouse when entering
    the debugger
2017-09-16 22:19:39 +01:00

6 lines
107 B
C++

#include "rw/defines.hpp"
#if RW_DEBUG
std::function<void()> _rw_abort_cb[2] = {nullptr, nullptr};
#endif