summaryrefslogtreecommitdiff
path: root/py/pykmsbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'py/pykmsbase.cpp')
-rw-r--r--py/pykmsbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pykmsbase.cpp b/py/pykmsbase.cpp
index b279de3..4dbcd7e 100644
--- a/py/pykmsbase.cpp
+++ b/py/pykmsbase.cpp
@@ -147,7 +147,7 @@ void init_pykmsbase(py::module &m)
py::class_<AtomicReq>(m, "AtomicReq")
.def(py::init<Card&>(),
py::keep_alive<1, 2>()) // Keep Card alive until this is destructed
- .def("add", (void (AtomicReq::*)(DrmObject*, const string&, uint64_t)) &AtomicReq::add)
+ .def("add", (void (AtomicReq::*)(DrmPropObject*, const string&, uint64_t)) &AtomicReq::add)
.def("test", &AtomicReq::test, py::arg("allow_modeset") = false)
.def("commit", &AtomicReq::commit, py::arg("data"), py::arg("allow_modeset") = false)
.def("commit_sync", &AtomicReq::commit_sync, py::arg("allow_modeset") = false)