mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix dbg_* comments to reflect reality
They also work in release mode.
This commit is contained in:
parent
deb4917563
commit
406bb85873
|
@ -118,7 +118,7 @@ void dbg_assert_imp(const char *filename, int line, int test, const char *msg)
|
|||
}
|
||||
}
|
||||
|
||||
void dbg_break_imp()
|
||||
void dbg_break()
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
__builtin_trap();
|
||||
|
|
|
@ -42,7 +42,7 @@ extern "C" {
|
|||
msg - Message that should be printed if the test fails.
|
||||
|
||||
Remarks:
|
||||
Does nothing in release version of the library.
|
||||
Also works in release mode.
|
||||
|
||||
See Also:
|
||||
<dbg_break>
|
||||
|
@ -67,7 +67,7 @@ void dbg_assert_imp(const char *filename, int line, int test, const char *msg);
|
|||
Breaks into the debugger.
|
||||
|
||||
Remarks:
|
||||
Does nothing in release version of the library.
|
||||
Also works in release mode.
|
||||
|
||||
See Also:
|
||||
<dbg_assert>
|
||||
|
@ -84,7 +84,7 @@ void dbg_break();
|
|||
fmt - A printf styled format string.
|
||||
|
||||
Remarks:
|
||||
Does nothing in release version of the library.
|
||||
Also works in release mode.
|
||||
|
||||
See Also:
|
||||
<dbg_assert>
|
||||
|
|
Loading…
Reference in a new issue