From e2c1451ce59d36d0b42fc34dd37aed8c2e04395f Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Wed, 9 Sep 2026 16:00:20 +0200 Subject: [PATCH] left debugging messages --- src/runtime/python/pypgf.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/runtime/python/pypgf.c b/src/runtime/python/pypgf.c index 38385baf6..12cf8b179 100644 --- a/src/runtime/python/pypgf.c +++ b/src/runtime/python/pypgf.c @@ -2195,14 +2195,20 @@ pgf_showType(PyObject *self, PyObject *args) { PyObject *pylist; TypeObject *type; +printf("pgf_showType 1\n"); if (!PyArg_ParseTuple(args, "O!O!", &PyList_Type, &pylist, &pgf_TypeType, &type)) return NULL; - +printf("pgf_showType 2\n"); PgfPrintContext *ctxt = PyList_AsPgfPrintContext(pylist); +printf("pgf_showType 3\n"); PgfText *s = pgf_print_type((PgfType) type, ctxt, 0, &marshaller); +printf("pgf_showType 4\n"); FreePgfPrintContext(ctxt); +printf("pgf_showType 5\n"); PyObject *str = PyUnicode_FromStringAndSize(s->text, s->size); +printf("pgf_showType 6\n"); FreePgfText(s); +printf("pgf_showType 7\n"); return str; }