Type Alias xmlXPathFuncLookupFunc

Source
pub type xmlXPathFuncLookupFunc = Option<unsafe extern "C" fn(ctxt: *mut c_void, name: *const xmlChar, ns_uri: *const xmlChar) -> xmlXPathFunction>;
Expand description

xmlXPathFuncLookupFunc: @ctxt: an XPath context @name: name of the function @ns_uri: the namespace name hosting this function

Prototype for callbacks used to plug function lookup in the XPath engine.

Returns the XPath function or NULL if not found.

Aliased Type§

enum xmlXPathFuncLookupFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *const u8) -> Option<unsafe extern "C" fn(_: *mut _xmlXPathParserContext, _: i32)>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *const u8) -> Option<unsafe extern "C" fn(_: *mut _xmlXPathParserContext, _: i32)>)

Some value of type T.