pub(crate) unsafe fn print_ln() {
    use io::Write;
    match selector {
        Selector::TERM_AND_LOG => {
            let stdout = rust_stdout.as_mut().unwrap();
            write_term_ln(stdout).unwrap();
            let lg = log_file.as_mut().unwrap();
            write_log_ln(lg).unwrap();
        }
        Selector::LOG_ONLY => {
            let lg = log_file.as_mut().unwrap();
            write_log_ln(lg).unwrap();
        }
        Selector::TERM_ONLY => {
            let stdout = rust_stdout.as_mut().unwrap();
            write_term_ln(stdout).unwrap();
        }
        Selector::NO_PRINT | Selector::PSEUDO => {}
        Selector::File(u) => {
            write_file[u as usize]
                .as_mut()
                .unwrap()
                .write_all(b"\n")
                .unwrap();
        }
    };
}
/* tectonic/output.c -- functions related to outputting messages
 * Copyright 2016 the Tectonic Project
 * Licensed under the MIT License.
*/
tectonic/output.c -- functions related to outputting messages
Copyright 2016 the Tectonic Project
Licensed under the MIT License.
tectonic / output . c -- functions related to outputting messages Copyright 2016 the Tectonic Project Licensed under the MIT License .
pub(crate) unsafe fn print_ln() {
    use io::Write;
    match selector {
        Selector::TERM_AND_LOG => {
            let stdout = rust_stdout.as_mut().unwrap();
            write_term_ln(stdout).unwrap();
            let lg = log_file.as_mut().unwrap();
            write_log_ln(lg).unwrap();
        }
        Selector::LOG_ONLY => {
            let lg = log_file.as_mut().unwrap();
            write_log_ln(lg).unwrap();
        }
        Selector::TERM_ONLY => {
            let stdout = rust_stdout.as_mut().unwrap();
            write_term_ln(stdout).unwrap();
        }
        Selector::NO_PRINT | Selector::PSEUDO => {}
        Selector::File(u) => {
            write_file[u as usize]
                .as_mut()
                .unwrap()
                .write_all(b"\n")
                .unwrap();
        }
    };
}
pub ( crate ) unsafe fn print_ln ( ) { use io :: Write ; match selector { Selector :: TERM_AND_LOG => { let stdout = rust_stdout . as_mut ( ) . unwrap ( ) ; write_term_ln ( stdout ) . unwrap ( ) ; let lg = log_file . as_mut ( ) . unwrap ( ) ; write_log_ln ( lg ) . unwrap ( ) ; } Selector :: LOG_ONLY => { let lg = log_file . as_mut ( ) . unwrap ( ) ; write_log_ln ( lg ) . unwrap ( ) ; } Selector :: TERM_ONLY => { let stdout = rust_stdout . as_mut ( ) . unwrap ( ) ; write_term_ln ( stdout ) . unwrap ( ) ; } Selector :: NO_PRINT | Selector :: PSEUDO => { } Selector :: File ( u ) => { write_file [ u as usize ] . as_mut ( ) . unwrap ( ) . write_all ( b" \n " ) . unwrap ( ) ; } } ; }
tectonic/output.c -- functions related to outputting messages
 Copyright 2016 the Tectonic Project
 Licensed under the MIT License.
tectonic / output . c -- functions related to outputting messages Copyright 2016 the Tectonic Project Licensed under the MIT License .