From 777adaedfcfa141c3b21d7ec643c4b10ce9f4876 Mon Sep 17 00:00:00 2001 From: krangelov Date: Fri, 22 Oct 2021 09:04:28 +0200 Subject: [PATCH] fix the compilation --- src/runtime/python/pypgf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c index e346c3796..57348fe0d 100644 --- a/src/runtime/python/pypgf.c +++ b/src/runtime/python/pypgf.c @@ -91,7 +91,7 @@ PGF_getAbstractName(PGFObject *self, void *closure) } static void -_collect_cats(PgfItor *fn, PgfText *key, void *value, PgfExn *err) +_collect_cats(PgfItor *fn, PgfText *key, object value, PgfExn *err) { PgfText *name = key; PyPGFClosure *clo = (PyPGFClosure*) fn; @@ -177,7 +177,7 @@ PGF_getStartCat(PGFObject *self, void *closure) } static void -_collect_funs(PgfItor *fn, PgfText *key, void *value, PgfExn *err) +_collect_funs(PgfItor *fn, PgfText *key, object value, PgfExn *err) { PgfText *name = key; PyPGFClosure *clo = (PyPGFClosure*) fn;