Function turbojpeg_sys::tj3GetErrorStr
source · pub unsafe extern "C" fn tj3GetErrorStr(
handle: tjhandle
) -> *mut c_char
Expand description
Returns a descriptive error message explaining why the last command failed.
@param handle handle to a TurboJPEG instance, or NULL if the error was generated by a global function (but note that retrieving the error message for a global function is thread-safe only on platforms that support thread-local storage.)
@return a descriptive error message explaining why the last command failed.