mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-06-30 02:21:44 +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 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
|
||||
|
Reference in New Issue
Block a user