Type Alias tidy_sys::TidyPPProgress

source ·
pub type TidyPPProgress = Option<unsafe extern "C" fn(tdoc: TidyDoc, line: uint, col: uint, destLine: uint)>;
Expand description

This typedef represents the required signature for your provided callback function should you wish to register one with tidySetMessageCallback(). Your callback function will be provided with the following parameters. @param tdoc Indicates the source tidy document. @param line Indicates the line in the source document at this point in the process. @param col Indicates the column in the source document at this point in the process. @param destLine Indicates the line number in the output document at this point in the process.

Aliased Type§

enum TidyPPProgress {
    None,
    Some(unsafe extern "C" fn(_: *const _TidyDoc, _: u32, _: u32, _: u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const _TidyDoc, _: u32, _: u32, _: u32))

Some value of type T.