diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2018-01-16 19:04:33 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2018-01-16 19:04:33 +0100 |
commit | 51b79bfa90c145a8ff90cc09f93da17130491ef2 (patch) | |
tree | 68cb5da6397276a0709165fca284080d50b3e558 | |
parent | 8bd32f7753ac253a54279a0b6a88d15a57076bb0 (diff) | |
download | libxslt-51b79bfa90c145a8ff90cc09f93da17130491ef2.tar.gz |
Fix callback signatures in Python bindingsv1.1.33-rc1
-rw-r--r-- | python/libxslt.c | 4 |
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 |