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

Function xmlPopInput

ThirdParty/libxml2/vtklibxml2/parser.c:2536–2546  ·  view source on GitHub ↗

* xmlPopInput: * @ctxt: an XML parser context * * xmlPopInput: the current input pointed by ctxt->input came to an end * pop it and return the next char. * * Returns the current xmlChar in the parser context */

Source from the content-addressed store, hash-verified

2534 * Returns the current xmlChar in the parser context
2535 */
2536xmlChar
2537xmlPopInput(xmlParserCtxtPtr ctxt) {
2538 xmlParserInputPtr input;
2539
2540 if ((ctxt == NULL) || (ctxt->inputNr <= 1)) return(0);
2541 input = inputPop(ctxt);
2542 xmlFreeInputStream(input);
2543 if (*ctxt->input->cur == 0)
2544 xmlParserGrow(ctxt);
2545 return(CUR);
2546}
2547
2548/**
2549 * xmlPushInput:

Callers 2

xmlSAX2ExternalSubsetFunction · 0.85
xmlPopPEFunction · 0.85

Calls 3

inputPopFunction · 0.85
xmlFreeInputStreamFunction · 0.85
xmlParserGrowFunction · 0.85

Tested by

no test coverage detected