Skip to content

cf_assert_fn

Category: app
GitHub: cute_defines.h


An assert handling function.

typedef void (cf_assert_fn)(bool expr, const char* message, const char* file, int line);
Parameters Description
expr The assertion expression, false for failure.
message An error message.
file Name of the file the assert came from.
line The line number the assert came from.

cf_set_assert_handler