* xmlStopParser: * @ctxt: an XML parser context * * Blocks further parser processing */
| 11753 | * Blocks further parser processing |
| 11754 | */ |
| 11755 | void |
| 11756 | xmlStopParser(xmlParserCtxtPtr ctxt) { |
| 11757 | if (ctxt == NULL) |
| 11758 | return; |
| 11759 | xmlHaltParser(ctxt); |
| 11760 | if (ctxt->errNo != XML_ERR_NO_MEMORY) |
| 11761 | ctxt->errNo = XML_ERR_USER_STOP; |
| 11762 | } |
| 11763 | |
| 11764 | /** |
| 11765 | * xmlCreateIOParserCtxt: |
no test coverage detected