diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-02-07 13:39:15 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-02-10 07:04:02 +0200 |
commit | 05009c91478ca2a8790a758ed0bd218e5f4dffb8 (patch) | |
tree | dc7813a92e7cf3adaf90b2c3c02a95c496e87acf /py | |
parent | 05bc0a0c4fe88031e72f17b342476d5f7d6775d0 (diff) |
use reserve_connector from ResourceManager
Diffstat (limited to 'py')
-rw-r--r-- | py/pykms/pykmsutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pykms/pykmsutil.cpp b/py/pykms/pykmsutil.cpp index b3b7594..8421cc5 100644 --- a/py/pykms/pykmsutil.cpp +++ b/py/pykms/pykmsutil.cpp @@ -23,7 +23,7 @@ void init_pykmstest(py::module &m) py::class_<ResourceManager>(m, "ResourceManager") .def(py::init<Card&>()) .def("reset", &ResourceManager::reset) - .def("reserve_connector", &ResourceManager::reserve_connector, + .def("reserve_connector", (Connector* (ResourceManager::*)(const string& name))&ResourceManager::reserve_connector, py::arg("name") = string()) .def("reserve_crtc", &ResourceManager::reserve_crtc) .def("reserve_plane", &ResourceManager::reserve_plane, |