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

Function inputPop

ThirdParty/libxml2/vtklibxml2/parser.c:1988–2005  ·  view source on GitHub ↗

* inputPop: * @ctxt: an XML parser context * * Pops the top parser input from the input stack * * Returns the input just removed */

Source from the content-addressed store, hash-verified

1986 * Returns the input just removed
1987 */
1988xmlParserInputPtr
1989inputPop(xmlParserCtxtPtr ctxt)
1990{
1991 xmlParserInputPtr ret;
1992
1993 if (ctxt == NULL)
1994 return(NULL);
1995 if (ctxt->inputNr <= 0)
1996 return (NULL);
1997 ctxt->inputNr--;
1998 if (ctxt->inputNr > 0)
1999 ctxt->input = ctxt->inputTab[ctxt->inputNr - 1];
2000 else
2001 ctxt->input = NULL;
2002 ret = ctxt->inputTab[ctxt->inputNr];
2003 ctxt->inputTab[ctxt->inputNr] = NULL;
2004 return (ret);
2005}
2006/**
2007 * nodePush:
2008 * @ctxt: an XML parser context

Callers 9

htmlCtxtResetFunction · 0.85
htmlCtxtParseDocumentFunction · 0.85
xmlInitSAXParserCtxtFunction · 0.85
xmlFreeParserCtxtFunction · 0.85
xmlPopInputFunction · 0.85
xmlLoadEntityContentFunction · 0.85
xmlCtxtParseContentFunction · 0.85
xmlCtxtResetFunction · 0.85
xmlCtxtParseDocumentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected