mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
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