diff options
author | aap <aap@papnet.eu> | 2019-06-12 12:18:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 12:18:53 +0200 |
commit | be1a24439ba88e162c37b1a3fe154e0866319eb0 (patch) | |
tree | a45953c15754c723d8feb3baded075dff633127f /src/common.h | |
parent | Merge pull request #9 from ShFil119/COnscreenTimer (diff) | |
parent | Merge pull request #4 from GTAmodding/master (diff) | |
download | re3-be1a24439ba88e162c37b1a3fe154e0866319eb0.tar re3-be1a24439ba88e162c37b1a3fe154e0866319eb0.tar.gz re3-be1a24439ba88e162c37b1a3fe154e0866319eb0.tar.bz2 re3-be1a24439ba88e162c37b1a3fe154e0866319eb0.tar.lz re3-be1a24439ba88e162c37b1a3fe154e0866319eb0.tar.xz re3-be1a24439ba88e162c37b1a3fe154e0866319eb0.tar.zst re3-be1a24439ba88e162c37b1a3fe154e0866319eb0.zip |
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 4844353b..f59e3aa4 100644 --- a/src/common.h +++ b/src/common.h @@ -138,6 +138,8 @@ void re3_debug(char *format, ...); void re3_trace(const char *filename, unsigned int lineno, const char *func, char *format, ...); void re3_assert(const char *expr, const char *filename, unsigned int lineno, const char *func); +#define DEBUGBREAK() __debugbreak(); + #define debug(f, ...) re3_debug("[DBG]: " f, __VA_ARGS__) #define DEV(f, ...) re3_debug("[DEV]: " f, __VA_ARGS__) #define TRACE(f, ...) re3_trace(__FILE__, __LINE__, __FUNCTION__, f, __VA_ARGS__) |