* xmlXPathErrMemory: * @ctxt: an XPath context * * Handle a memory allocation failure. */
| 628 | * Handle a memory allocation failure. |
| 629 | */ |
| 630 | void |
| 631 | xmlXPathErrMemory(xmlXPathContextPtr ctxt) |
| 632 | { |
| 633 | if (ctxt == NULL) |
| 634 | return; |
| 635 | xmlRaiseMemoryError(ctxt->error, NULL, ctxt->userData, XML_FROM_XPATH, |
| 636 | &ctxt->lastError); |
| 637 | } |
| 638 | |
| 639 | /** |
| 640 | * xmlXPathPErrMemory: |
no test coverage detected