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

Function xmlBufDumpEnumeration

ThirdParty/libxml2/vtklibxml2/xmlsave.c:605–616  ·  view source on GitHub ↗

* xmlBufDumpEnumeration: * @buf: output buffer * @enum: An enumeration * * This will dump the content of the enumeration */

Source from the content-addressed store, hash-verified

603 * This will dump the content of the enumeration
604 */
605static void
606xmlBufDumpEnumeration(xmlOutputBufferPtr buf, xmlEnumerationPtr cur) {
607 while (cur != NULL) {
608 xmlOutputBufferWriteString(buf, (const char *) cur->name);
609 if (cur->next != NULL)
610 xmlOutputBufferWrite(buf, 3, " | ");
611
612 cur = cur->next;
613 }
614
615 xmlOutputBufferWrite(buf, 1, ")");
616}
617/**
618 * xmlBufDumpAttributeDecl:
619 * @buf: output buffer

Callers 1

xmlBufDumpAttributeDeclFunction · 0.85

Calls 2

xmlOutputBufferWriteFunction · 0.85

Tested by

no test coverage detected