Very Simple Kernel 0.1.0
|
#include <stdbool.h>
Go to the source code of this file.
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. | |