增加了提issue的功能

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-12 08:59:02 +08:00
parent 08a05b088a
commit 45e18b4d47
6118 changed files with 512373 additions and 4 deletions
@@ -0,0 +1,22 @@
from lxml.includes.tree cimport xmlDoc, xmlNode
cdef extern from "libxml/xinclude.h" nogil:
ctypedef struct xmlXIncludeCtxt
cdef int xmlXIncludeProcess(xmlDoc* doc)
cdef int xmlXIncludeProcessFlags(xmlDoc* doc, int parser_opts)
cdef int xmlXIncludeProcessTree(xmlNode* doc)
cdef int xmlXIncludeProcessTreeFlags(xmlNode* doc, int parser_opts)
# libxml2 >= 2.7.4
cdef int xmlXIncludeProcessTreeFlagsData(
xmlNode* doc, int parser_opts, void* data)
cdef xmlXIncludeCtxt* xmlXIncludeNewContext(xmlDoc* doc)
cdef int xmlXIncludeProcessNode(xmlXIncludeCtxt* ctxt, xmlNode* node)
cdef int xmlXIncludeSetFlags(xmlXIncludeCtxt* ctxt, int flags)
# libxml2 >= 2.6.27
cdef int xmlXIncludeProcessFlagsData(
xmlDoc* doc, int flags, void* data)