#[unsafe(no_mangle)]pub unsafe extern "C" fn xmlStringDecodeEntities(
ctxt: *mut _xmlParserCtxt,
str: *const xmlChar,
what: c_int,
end: xmlChar,
end2: xmlChar,
end3: xmlChar,
) -> *mut xmlCharExpand description
Expand general entity references in a NUL-terminated string (upstream
parser.c xmlStringDecodeEntities, the macro-less variant).
§UPSTREAM-PARITY
xmlChar *xmlStringDecodeEntities(xmlParserCtxt *ctxt,
const xmlChar *str, int what,
xmlChar end, xmlChar end2,
xmlChar end3);Returns NULL when ctxt/str is NULL or any end marker is non-zero
(the git-version contract). what is ignored, matching upstream where
it is marked ATTRIBUTE_UNUSED.
§SAFETY
ctxtmust be a validxmlParserCtxt*or NULL.strmust be a valid NUL-terminated string.