* xmlBufDumpEnumeration: * @buf: output buffer * @enum: An enumeration * * This will dump the content of the enumeration */
| 603 | * This will dump the content of the enumeration |
| 604 | */ |
| 605 | static void |
| 606 | xmlBufDumpEnumeration(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 |
no test coverage detected