Module libc/assert
libc/assert
C11 <assert.h> — assertion debugging facility.
Provides runtime assertion checking for debugging.
Functions
__assert_fail
function
fn(assertion : *(char), file : *(char), line : uint, function : *(char)) -> unit
Parameters
| Name | Type | Notes |
|---|---|---|
assertion | *(char) | |
file | *(char) | |
line | uint | |
function | *(char) |
Returns: unit
__assert
function
fn(assertion : *(char), file : *(char), line : int) -> unit
Parameters
| Name | Type | Notes |
|---|---|---|
assertion | *(char) | |
file | *(char) | |
line | int |
Returns: unit
_Static_assert_fail
function
fn(message : *(char)) -> unit
Parameters
| Name | Type | Notes |
|---|---|---|
message | *(char) |
Returns: unit