MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / _mi_assert_fail

Function _mi_assert_fail

3rd/mimalloc-2.0.9/src/options.c:409–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407
408#if MI_DEBUG
409void _mi_assert_fail(const char* assertion, const char* fname, unsigned line, const char* func ) {
410 _mi_fprintf(NULL, NULL, "mimalloc: assertion failed: at \"%s\":%u, %s\n assertion: \"%s\"\n", fname, line, (func==NULL?"":func), assertion);
411 abort();
412}
413#endif
414
415// --------------------------------------------------------

Callers

nothing calls this directly

Calls 1

_mi_fprintfFunction · 0.85

Tested by

no test coverage detected