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

Function xmlTextReaderConstString

ThirdParty/libxml2/vtklibxml2/xmlreader.c:3763–3768  ·  view source on GitHub ↗

* xmlTextReaderConstString: * @reader: the xmlTextReaderPtr used * @str: the string to intern. * * Get an interned string from the reader, allows for example to * speedup string name comparisons * * Returns an interned copy of the string or NULL in case of error. The * string will be deallocated with the reader. */

Source from the content-addressed store, hash-verified

3761 * string will be deallocated with the reader.
3762 */
3763const xmlChar *
3764xmlTextReaderConstString(xmlTextReaderPtr reader, const xmlChar *str) {
3765 if (reader == NULL)
3766 return(NULL);
3767 return(constString(reader, str));
3768}
3769
3770/**
3771 * xmlTextReaderNormalization:

Callers

nothing calls this directly

Calls 1

constStringFunction · 0.85

Tested by

no test coverage detected