Skip to main content

xmlXPathContextSetCache

Function xmlXPathContextSetCache 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlXPathContextSetCache( ctxt: *mut _xmlXPathContext, active: c_int, _value: c_int, _options: c_int, ) -> c_int
Expand description

int xmlXPathContextSetCache(xmlXPathContextPtr ctxt, int active, int value, int options).

The candidate has no object cache; the call is accepted and recorded (active ⇒ a marker in ctxt->cache), returning 0 on success.

§SAFETY

  • ctxt must be a valid context or NULL.