* 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. */
| 3761 | * string will be deallocated with the reader. |
| 3762 | */ |
| 3763 | const xmlChar * |
| 3764 | xmlTextReaderConstString(xmlTextReaderPtr reader, const xmlChar *str) { |
| 3765 | if (reader == NULL) |
| 3766 | return(NULL); |
| 3767 | return(constString(reader, str)); |
| 3768 | } |
| 3769 | |
| 3770 | /** |
| 3771 | * xmlTextReaderNormalization: |
nothing calls this directly
no test coverage detected