MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlNewPI

Function xmlNewPI

ThirdParty/libxml2/vtklibxml2/tree.c:2044–2047  ·  view source on GitHub ↗

* xmlNewPI: * @name: the processing instruction target * @content: the PI content (optional) * * Create a processing instruction node. * * Use of this function is DISCOURAGED in favor of xmlNewDocPI. * * Returns a pointer to the new node object or NULL if arguments are * invalid or a memory allocation failed. */

Source from the content-addressed store, hash-verified

2042 * invalid or a memory allocation failed.
2043 */
2044xmlNodePtr
2045xmlNewPI(const xmlChar *name, const xmlChar *content) {
2046 return(xmlNewDocPI(NULL, name, content));
2047}
2048
2049/**
2050 * xmlNewNode:

Callers

nothing calls this directly

Calls 1

xmlNewDocPIFunction · 0.85

Tested by

no test coverage detected