Add checkoutBranch function. Fix incorrect INCREF of non-Python object.

This commit is contained in:
John J. Camilleri committed 2021-09-24 11:47:46 +02:00
1 parent 139e851f22
commit 917c223db7
4 files changed
+46 -12

No files matched your search

+3
View File
@@ -353,6 +353,9 @@ static PyMethodDef PGF_methods[] = {
"Returns the probability of a function"
},
{"checkoutBranch", (PyCFunction)PGF_checkoutBranch, METH_VARARGS,
"Switch to a branch"
},
{"newTransaction", (PyCFunction)PGF_newTransaction, METH_VARARGS,
"Create new transaction"
},