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

Function xmlCleanSpecialAttrCallback

ThirdParty/libxml2/vtklibxml2/parser.c:1206–1215  ·  view source on GitHub ↗

* xmlCleanSpecialAttrCallback: * * Removes CDATA attributes from the special attribute table */

Source from the content-addressed store, hash-verified

1204 * Removes CDATA attributes from the special attribute table
1205 */
1206static void
1207xmlCleanSpecialAttrCallback(void *payload, void *data,
1208 const xmlChar *fullname, const xmlChar *fullattr,
1209 const xmlChar *unused ATTRIBUTE_UNUSED) {
1210 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) data;
1211
1212 if (((ptrdiff_t) payload) == XML_ATTRIBUTE_CDATA) {
1213 xmlHashRemoveEntry2(ctxt->attsSpecial, fullname, fullattr, NULL);
1214 }
1215}
1216
1217/**
1218 * xmlCleanSpecialAttr:

Callers

nothing calls this directly

Calls 1

xmlHashRemoveEntry2Function · 0.85

Tested by

no test coverage detected