|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| void | _BLI_assert_print_pos (const char *file, const int line, const char *function, const char *id) |
| void | _BLI_assert_unreachable_print (const char *file, const int line, const char *function) |
| void | _BLI_assert_print_backtrace (void) |
| void | _BLI_assert_abort (void) |
Helper functions for BLI_assert.h header.
Definition in file BLI_assert.c.
| void _BLI_assert_abort | ( | void | ) |
Wrap to remove 'noreturn' attribute since this suppresses missing return statements, allowing changes to debug builds to accidentally to break release builds.
For example BLI_assert(0); at the end of a function that returns a value, will hide that it's missing a return.
Definition at line 54 of file BLI_assert.c.
| void _BLI_assert_print_backtrace | ( | void | ) |
Definition at line 40 of file BLI_assert.c.
References BLI_system_backtrace().
| void _BLI_assert_print_pos | ( | const char * | file, |
| const int | line, | ||
| const char * | function, | ||
| const char * | id | ||
| ) |
Definition at line 29 of file BLI_assert.c.
References file.
| void _BLI_assert_unreachable_print | ( | const char * | file, |
| const int | line, | ||
| const char * | function | ||
| ) |
Definition at line 34 of file BLI_assert.c.
References file.