From f466da4ebdbb69d5436ee91a0eaf45b7105e9530 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 10 Jan 2024 12:06:37 +0100 Subject: [PATCH] Temporarily undo a fix to avoid code changes in a binary-only release. --- src/lxml/includes/xmlerror.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxml/includes/xmlerror.pxd b/src/lxml/includes/xmlerror.pxd index 589e38eab..6967378b7 100644 --- a/src/lxml/includes/xmlerror.pxd +++ b/src/lxml/includes/xmlerror.pxd @@ -840,7 +840,7 @@ cdef extern from "libxml/xmlerror.h" nogil: ctypedef void (*xmlGenericErrorFunc)(void* ctxt, char* msg, ...) noexcept ctypedef void (*xmlStructuredErrorFunc)(void* userData, - const xmlError* error) noexcept + xmlError* error) noexcept cdef void xmlSetGenericErrorFunc( void* ctxt, xmlGenericErrorFunc func)