Function get_doc_entity
Source pub unsafe fn get_doc_entity(
doc: *const _xmlDoc,
name: *const xmlChar,
) -> *mut _xmlEntity
Expand description
Get a document entity by name.
§UPSTREAM-PARITY
xmlEntityPtr xmlGetDocEntity(xmlDocPtr doc, const xmlChar *name);
Returns the entity, or NULL if not found.
§SAFETY
doc must be a valid pointer to an _xmlDoc, or NULL.
name must be a valid null-terminated string.