1
0
forked from GitHub/gf-core

Fix compilation errors of Python bindings on macOS

This commit is contained in:
John J. Camilleri
2021-10-18 08:27:19 +02:00
parent c9b668a583
commit 61e95bcfeb
4 changed files with 18 additions and 21 deletions

View File

@@ -13,7 +13,7 @@ typedef struct {
PyObject *exprs; // PyTupleObject of ExprObject
} TypeObject;
PyTypeObject pgf_TypeType;
extern PyTypeObject pgf_TypeType;
// typedef struct {
// PyObject_HEAD
@@ -72,14 +72,14 @@ typedef struct {
ExprObject *expr;
} ExprImplArgObject;
PyTypeObject pgf_ExprType;
PyTypeObject pgf_ExprAbsType;
PyTypeObject pgf_ExprAppType;
PyTypeObject pgf_ExprLitType;
PyTypeObject pgf_ExprMetaType;
PyTypeObject pgf_ExprFunType;
PyTypeObject pgf_ExprVarType;
PyTypeObject pgf_ExprTypedType;
PyTypeObject pgf_ExprImplArgType;
extern PyTypeObject pgf_ExprType;
extern PyTypeObject pgf_ExprAbsType;
extern PyTypeObject pgf_ExprAppType;
extern PyTypeObject pgf_ExprLitType;
extern PyTypeObject pgf_ExprMetaType;
extern PyTypeObject pgf_ExprFunType;
extern PyTypeObject pgf_ExprVarType;
extern PyTypeObject pgf_ExprTypedType;
extern PyTypeObject pgf_ExprImplArgType;
#endif // PYPGF_EXPR_H_