[][src]Function libeyelink_sys::check_record_exit

pub unsafe extern "C" fn check_record_exit() -> INT16

call at end of trial, return result * check if we are in Abort menu after recording stopped * returns trial exit code * Checks if we are in Abort menu after recording stopped and returns trial exit code. Call this function on leaving a trial. It checks if the EyeLink tracker is displaying the Abort menu, and handles it if required. The return value from this function should be returned as the trial result code.

@return \c TRIAL_OK if no error.\n REPEAT_TRIAL, SKIP_TRIAL, ABORT_EXPT if Abort menu activated.

\b Example: See \c start_recording()

\sa \c check_recording(), \c eyelink_abort(), \c start_recording() and \c stop_recording()