Type Alias xmlXPathConvertFunc

Source
pub type xmlXPathConvertFunc = Option<unsafe extern "C" fn(obj: xmlXPathObjectPtr, type_: c_int) -> c_int>;
Expand description

xmlXPathConvertFunc: @obj: an XPath object @type: the number of the target type

A conversion function is associated to a type and used to cast the new type to primitive values.

Returns -1 in case of error, 0 otherwise

Aliased Type§

enum xmlXPathConvertFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut _xmlXPathObject, _: i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.