Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/lxml/includes/dtdvalid.pxd @ 5:9b1c78e6ba9c draft default tip
"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
| author | shellac |
|---|---|
| date | Mon, 01 Jun 2020 08:59:25 -0400 |
| parents | 79f47841a781 |
| children |
comparison
equal
deleted
inserted
replaced
| 4:79f47841a781 | 5:9b1c78e6ba9c |
|---|---|
| 1 from lxml.includes cimport tree | |
| 2 from lxml.includes.tree cimport xmlDoc, xmlDtd | |
| 3 | |
| 4 cdef extern from "libxml/valid.h" nogil: | |
| 5 ctypedef void (*xmlValidityErrorFunc)(void * ctx, const char * msg, ...) | |
| 6 ctypedef void (*xmlValidityWarningFunc)(void * ctx, const char * msg, ...) | |
| 7 | |
| 8 ctypedef struct xmlValidCtxt: | |
| 9 void *userData | |
| 10 xmlValidityErrorFunc error | |
| 11 xmlValidityWarningFunc warning | |
| 12 | |
| 13 cdef xmlValidCtxt* xmlNewValidCtxt() | |
| 14 cdef void xmlFreeValidCtxt(xmlValidCtxt* cur) | |
| 15 | |
| 16 cdef int xmlValidateDtd(xmlValidCtxt* ctxt, xmlDoc* doc, xmlDtd* dtd) | |
| 17 cdef tree.xmlElement* xmlGetDtdElementDesc( | |
| 18 xmlDtd* dtd, tree.const_xmlChar* name) |
