FreeRDP
assert.c
1
21
#include <winpr/assert.h>
22
#include <winpr/wlog.h>
23
#include <winpr/debug.h>
24
25
void
winpr_int_assert(
const
char
* condstr,
const
char
* file,
const
char
* fkt,
size_t
line)
26
{
27
wLog* _log_cached_ptr = WLog_Get(
"com.freerdp.winpr.assert"
);
28
WLog_Print(_log_cached_ptr, WLOG_FATAL,
"%s [%s:%s:%"
PRIuz
"]"
, condstr, file, fkt, line);
29
winpr_log_backtrace_ex(_log_cached_ptr, WLOG_FATAL, 20);
30
abort();
31
}
winpr
libwinpr
crt
assert.c
Generated by
1.9.1