Add ExprApp to Python bindings

This commit is contained in:
John J. Camilleri committed 2021-09-14 15:28:39 +02:00
1 parent 6ebb8e5fda
commit fd61a6c0d3
5 files changed
+140 -10

No files matched your search

+6
View File
@@ -2669,6 +2669,9 @@ MOD_INIT(pgf)
if (PyType_Ready(&pgf_ExprFunType) < 0)
return MOD_ERROR_VAL;
if (PyType_Ready(&pgf_ExprAppType) < 0)
return MOD_ERROR_VAL;
if (PyType_Ready(&pgf_ExprLitType) < 0)
return MOD_ERROR_VAL;
@@ -2709,6 +2712,9 @@ MOD_INIT(pgf)
PyModule_AddObject(m, "ExprFun", (PyObject *) &pgf_ExprFunType);
Py_INCREF(&pgf_ExprFunType);
PyModule_AddObject(m, "ExprApp", (PyObject *) &pgf_ExprAppType);
Py_INCREF(&pgf_ExprAppType);
PyModule_AddObject(m, "ExprLit", (PyObject *) &pgf_ExprLitType);
Py_INCREF(&pgf_ExprLitType);