KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
assert.h File Reference

Standard C Assertions. More...

#include <kos/cdefs.h>

Go to the source code of this file.

Macros

#define assert(e)
 Standard C assertion macro.
 
#define assert_msg(e, m)
 assert() with a custom message.
 

Typedefs

typedef void(* assert_handler_t) (const char *file, int line, const char *expr, const char *msg, const char *func)
 Assertion handler type.
 

Functions

assert_handler_t assert_set_handler (assert_handler_t hnd)
 Set an assertion handler to call on a failed assertion.
 

Detailed Description

Standard C Assertions.

This file contains the standard C assertions to raise an assertion or to change the assertion handler.

Author
Megan Potter