forked from GitHub/gf-core
Add ExprApp to Python bindings
This commit is contained in:
@@ -23,9 +23,15 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
PyObject *fun; // PyUnicodeObject
|
||||
PyObject *name; // PyUnicodeObject
|
||||
} ExprFunObject;
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
ExprObject *e1; // ExprObject
|
||||
ExprObject *e2; // ExprObject
|
||||
} ExprAppObject;
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
PyObject *value; // PyLongObject | PyFloatObject | PyUnicodeObject
|
||||
@@ -45,6 +51,8 @@ extern PyTypeObject pgf_ExprType;
|
||||
|
||||
extern PyTypeObject pgf_ExprFunType;
|
||||
|
||||
extern PyTypeObject pgf_ExprAppType;
|
||||
|
||||
extern PyTypeObject pgf_ExprLitType;
|
||||
|
||||
extern PyTypeObject pgf_ExprMetaType;
|
||||
|
||||
Reference in New Issue
Block a user