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

Function spacePop

ThirdParty/libxml2/vtklibxml2/parser.c:2244–2255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2242}
2243
2244static int spacePop(xmlParserCtxtPtr ctxt) {
2245 int ret;
2246 if (ctxt->spaceNr <= 0) return(0);
2247 ctxt->spaceNr--;
2248 if (ctxt->spaceNr > 0)
2249 ctxt->space = &ctxt->spaceTab[ctxt->spaceNr - 1];
2250 else
2251 ctxt->space = &ctxt->spaceTab[0];
2252 ret = ctxt->spaceTab[ctxt->spaceNr];
2253 ctxt->spaceTab[ctxt->spaceNr] = -1;
2254 return(ret);
2255}
2256
2257/*
2258 * Macros for accessing the content. Those should be used only by the parser,

Callers 6

xmlParseEndTag1Function · 0.85
xmlParseEndTag2Function · 0.85
xmlParseContentInternalFunction · 0.85
xmlParseElementStartFunction · 0.85
parser.cFile · 0.85
xmlCtxtParseContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected