MCPcopy Create free account
hub / github.com/WinMerge/winmerge / XML_SetBase

Function XML_SetBase

Externals/poco/XML/src/xmlparse.cpp:2072–2084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2070}
2071
2072enum XML_Status XMLCALL
2073XML_SetBase(XML_Parser parser, const XML_Char *p) {
2074 if (parser == NULL)
2075 return XML_STATUS_ERROR;
2076 if (p) {
2077 p = poolCopyString(&parser->m_dtd->pool, p);
2078 if (! p)
2079 return XML_STATUS_ERROR;
2080 parser->m_curBase = p;
2081 } else
2082 parser->m_curBase = NULL;
2083 return XML_STATUS_OK;
2084}
2085
2086const XML_Char *XMLCALL
2087XML_GetBase(XML_Parser parser) {

Callers

nothing calls this directly

Calls 1

poolCopyStringFunction · 0.85

Tested by

no test coverage detected