Type Alias TidyInputSource

Source
pub type TidyInputSource = _TidyInputSource;
Expand description

This type defines an input source capable of delivering raw bytes of input.

Aliased Type§

#[repr(C)]
pub struct TidyInputSource { pub sourceData: *mut c_void, pub getByte: Option<unsafe extern "C" fn(*mut c_void) -> i32>, pub ungetByte: Option<unsafe extern "C" fn(*mut c_void, u8)>, pub eof: Option<unsafe extern "C" fn(*mut c_void) -> u32>, }

Fields§

§sourceData: *mut c_void

< Input context. Passed to callbacks.

§getByte: Option<unsafe extern "C" fn(*mut c_void) -> i32>

< Pointer to “get byte” callback.

§ungetByte: Option<unsafe extern "C" fn(*mut c_void, u8)>

< Pointer to “unget” callback.

§eof: Option<unsafe extern "C" fn(*mut c_void) -> u32>

< Pointer to “eof” callback.