odin_is_error
Checks whether the code returned from ODIN function calls represents an error or an actual result. This is used to
easier work with certain functions that might return an error or a valid result like odin_audio_data_len
.
Internally this simply does (code >> 29) > 0
.
Declaration
Parameters
code
The return code to be checked. See OdinReturnCode
Declaration
Returns
true
if the code represents an error, otherwise false
.
Return Type