Mercurial > repos > shellac > guppy_basecaller
comparison env/lib/python3.7/site-packages/lxml/includes/dtdvalid.pxd @ 2:6af9afd405e9 draft
"planemo upload commit 0a63dd5f4d38a1f6944587f52a8cd79874177fc1"
| author | shellac |
|---|---|
| date | Thu, 14 May 2020 14:56:58 -0400 |
| parents | 26e78fe6e8c4 |
| children |
comparison
equal
deleted
inserted
replaced
| 1:75ca89e9b81c | 2:6af9afd405e9 |
|---|---|
| 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) |
