forked from GitHub/gf-core
Work in progress with marshalling in Python bindings, trying to get Type_str to work without segfaulting
This commit is contained in:
@@ -814,7 +814,7 @@
|
||||
static PyObject *
|
||||
Type_str(TypeObject *self)
|
||||
{
|
||||
PgfText *s = pgf_print_type((PgfType) &self, NULL, 0, &marshaller);
|
||||
PgfText *s = pgf_print_type((PgfType) &self, NULL, 1, &marshaller);
|
||||
return PyString_FromStringAndSize(s->text, s->size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user