Type Alias setDocumentLocatorSAXFunc

Source
pub type setDocumentLocatorSAXFunc = Option<unsafe extern "C" fn(ctx: *mut c_void, loc: xmlSAXLocatorPtr)>;
Expand description

setDocumentLocatorSAXFunc: @ctx: the user data (XML parser context) @loc: A SAX Locator

Receive the document locator at startup, actually xmlDefaultSAXLocator. Everything is available on the context, so this is useless in our case.

Aliased Type§

enum setDocumentLocatorSAXFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut _xmlSAXLocator)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut _xmlSAXLocator))

Some value of type T.