Functions | |
void | alert_printf (char *fmt,...) |
char * | eyelink_get_error (int id, char *function_name) |
void alert_printf | ( | char * | fmt, |
... | |||
) |
When an error occurs, a notification must be given to the user. If no alert_printf_hook is set, this function uses the Windows MessageBox() function in windows. On other platforms printf is called.
fmt | A printf() formatting string<...>: any arguments required. |
char* eyelink_get_error | ( | int | id, |
char * | function_name | ||
) |
Returns error description for given function with error id.
Example:
[in] | id | Error id |
[in] | function_name | Name of the function that generated the error id. |