Type Alias xmlXPathVariableLookupFunc

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

xmlXPathVariableLookupFunc: @ctxt: an XPath context @name: name of the variable @ns_uri: the namespace name hosting this variable

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

Returns the XPath object value or NULL if not found.

Aliased Type§

enum xmlXPathVariableLookupFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *const u8) -> *mut _xmlXPathObject),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: *const u8) -> *mut _xmlXPathObject)

Some value of type T.