forked from GitHub/gf-core
Use PyBool instead of PyLong for bind_type
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user