[−][src]Function libeyelink_sys::eyelink_get_error
pub unsafe extern "C" fn eyelink_get_error(
id: c_int,
function_name: *mut c_char
) -> *mut c_char
@ingroup error_reporting Returns error description for given function with error id.
\b Example:
@code int rv = open_eyelink_connection(0); if(rv) { char *errmsg = eyelink_get_error(rv,"open_eyelink_connection"); printf("Error: %s \n", errmsg); // report the error return -1; } @endcode
@param[in] id Error id @param[in] function_name Name of the function that generated the error id.