summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2018-01-16 19:04:33 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2018-01-16 19:04:33 +0100
commit51b79bfa90c145a8ff90cc09f93da17130491ef2 (patch)
tree68cb5da6397276a0709165fca284080d50b3e558
parent8bd32f7753ac253a54279a0b6a88d15a57076bb0 (diff)
downloadlibxslt-1.1.33-rc1.tar.gz
Fix callback signatures in Python bindingsv1.1.33-rc1
-rw-r--r--python/libxslt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/libxslt.c b/python/libxslt.c
index 6db61c5f..ee26d689 100644
--- a/python/libxslt.c
+++ b/python/libxslt.c
@@ -180,7 +180,7 @@ static xmlHashTablePtr libxslt_extModuleElements = NULL;
static xmlHashTablePtr libxslt_extModuleElementPreComp = NULL;
static void
-deallocateCallback(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
+deallocateCallback(void *payload, const xmlChar *name ATTRIBUTE_UNUSED) {
PyObject *function = (PyObject *) payload;
#ifdef DEBUG_EXTENSIONS
@@ -191,7 +191,7 @@ deallocateCallback(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
}
static void
-deallocateClasse(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
+deallocateClasse(void *payload, const xmlChar *name ATTRIBUTE_UNUSED) {
PyObject *class = (PyObject *) payload;
#ifdef DEBUG_EXTENSIONS