Very Simple Kernel 0.1.0
|
Data Structures | |
struct | vsk_Assert |
Assert. More... | |
Typedefs | |
typedef struct vsk_Assert | vsk_Assert_t |
Assert. | |
typedef void(* | vsk_Assert_OnFail_t) (void) |
On fail callback. | |
Functions | |
vsk_Assert_t * | vsk_Assert_init (vsk_Assert_t *const self, vsk_Assert_OnFail_t const onFail) |
Initializes the assert instance. | |
void | vsk_Assert_true (vsk_Assert_t *const self, bool const condition) |
Asserts that a condition is true. | |
void | vsk_Assert_fail (vsk_Assert_t *const self) |
Fails the assert. | |
Variables | |
vsk_Assert_t | vsk_Assert |
Assert instance. | |
void vsk_Assert_fail | ( | vsk_Assert_t *const | self | ) |
Fails the assert.
self | Assert instance |
vsk_Assert_t * vsk_Assert_init | ( | vsk_Assert_t *const | self, |
vsk_Assert_OnFail_t const | onFail ) |
Initializes the assert instance.
self | Assert instance |
onFail | On fail callback |
void vsk_Assert_true | ( | vsk_Assert_t *const | self, |
bool const | condition ) |
Asserts that a condition is true.
self | Assert instance |
condition | Condition to assert |