1
0
forked from GitHub/gf-core

Use PyBool instead of PyLong for bind_type

This commit is contained in:
John J. Camilleri
2021-09-27 15:37:33 +02:00
parent 7dafeee57b
commit 8c3f9c8d73
4 changed files with 34 additions and 28 deletions

View File

@@ -17,7 +17,7 @@ PyTypeObject pgf_TypeType;
typedef struct {
PyObject_HEAD
PyObject *bind_type; // PyLongObject
PyObject *bind_type; // PyBool
PyObject *cid; // PyUnicodeObject
TypeObject *type;
} HypoObject;
@@ -30,7 +30,7 @@ typedef struct {
typedef struct {
PyObject_HEAD
PyObject *bind_type; // PyLongObject
PyObject *bind_type; // PyBool
PyObject *name; // PyUnicodeObject
ExprObject *body;
} ExprAbsObject;