diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-22 15:42:14 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-23 09:43:27 +0300 |
commit | ebfe02d5cd4e04d0df471669190e4feb1e2e493c (patch) | |
tree | 506ac8ba7214c0476127a6ce6e677f6693a25f3f /py | |
parent | 6d13ebbb8b9854713a5597df71a12f8dd9a36c34 (diff) |
Cleanup AtomicReq::commit
Diffstat (limited to 'py')
-rw-r--r-- | py/pykms.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/py/pykms.cpp b/py/pykms.cpp index 7e42e4f..c31d5ce 100644 --- a/py/pykms.cpp +++ b/py/pykms.cpp @@ -127,8 +127,7 @@ PYBIND11_PLUGIN(pykms) { py::keep_alive<1, 2>()) // Keep Card alive until this is destructed .def("add", (void (AtomicReq::*)(DrmObject*, const string&, uint64_t)) &AtomicReq::add) .def("test", &AtomicReq::test) - .def("commit", (int (AtomicReq::*)()) &AtomicReq::commit) - .def("commit", (int (AtomicReq::*)(void*)) &AtomicReq::commit) + .def("commit", &AtomicReq::commit) .def("commit_sync", &AtomicReq::commit_sync) ; |