Add bindings for global/abstract flag functions

This commit is contained in:
John J. Camilleri
2021-09-27 13:33:34 +02:00
parent 6ce619c146
commit 8c04eed5c3
4 changed files with 169 additions and 11 deletions

View File

@@ -372,6 +372,13 @@ static PyMethodDef PGF_methods[] = {
"Create new transaction"
},
{"getGlobalFlag", (PyCFunction)PGF_getGlobalFlag, METH_VARARGS,
"Get the value of a global flag"
},
{"getAbstractFlag", (PyCFunction)PGF_getAbstractFlag, METH_VARARGS,
"Get the value of an abstract flag"
},
{NULL} /* Sentinel */
};