Add ExprMeta type, with two basic tests

This commit is contained in:
John J. Camilleri
2021-09-13 16:18:32 +02:00
parent d8a7aef46b
commit c5ce2fd4b7
5 changed files with 164 additions and 21 deletions

View File

@@ -26,8 +26,15 @@ typedef struct {
PyObject *value;
} ExprLitObject;
typedef struct {
PyObject_HEAD
PyObject *index;
} ExprMetaObject;
extern PyTypeObject pgf_ExprType;
extern PyTypeObject pgf_ExprLitType;
extern PyTypeObject pgf_ExprMetaType;
#endif // PYPGF_EXPR_H_