[][src]Function libeyelink_sys::alert_printf

pub unsafe extern "C" fn alert_printf(fmt: *mut c_char, ...)

displays general STOP-icon alert box text is formatted via printf-like arguments 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.

@param fmt A printf() formatting string<...>: any arguments required.

@remark The error message may no showup in certain display environment eg. SDL with SDL_FULLSCREEN|SDL_HWSURFACE | SDL_DOUBLEBUF