mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
Fix callback signatures in Python bindings
This commit is contained in:
@ -180,7 +180,7 @@ static xmlHashTablePtr libxslt_extModuleElements = NULL;
|
|||||||
static xmlHashTablePtr libxslt_extModuleElementPreComp = NULL;
|
static xmlHashTablePtr libxslt_extModuleElementPreComp = NULL;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
deallocateCallback(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
|
deallocateCallback(void *payload, const xmlChar *name ATTRIBUTE_UNUSED) {
|
||||||
PyObject *function = (PyObject *) payload;
|
PyObject *function = (PyObject *) payload;
|
||||||
|
|
||||||
#ifdef DEBUG_EXTENSIONS
|
#ifdef DEBUG_EXTENSIONS
|
||||||
@ -191,7 +191,7 @@ deallocateCallback(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
deallocateClasse(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
|
deallocateClasse(void *payload, const xmlChar *name ATTRIBUTE_UNUSED) {
|
||||||
PyObject *class = (PyObject *) payload;
|
PyObject *class = (PyObject *) payload;
|
||||||
|
|
||||||
#ifdef DEBUG_EXTENSIONS
|
#ifdef DEBUG_EXTENSIONS
|
||||||
|
Reference in New Issue
Block a user