Zen API
|
kStatus kApiLib_SetAssertHandler | ( | kApiAssertFx | function | ) |
Sets a handler function for debug assertions.
By default, kApi uses C standard library functions for debug assertions. Call this function to override the default behaviour.
Note, assertion features also require K_DEBUG or K_ASSERT to be defined at compile time.
This function is not thread-safe and should be called before calling kApiLib_Construct.
function | Assert callback function. |