mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-27 13:32:51 -06:00
Add checkoutBranch function. Fix incorrect INCREF of non-Python object.
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user