diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-10-02 12:19:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-02 12:19:10 +0300 |
commit | 934416e1dfa8222a0a1746a5a0951e2b08d02eae (patch) | |
tree | faec976b3629eaa61335b781d1b0527c66d14c69 /py/pykms | |
parent | 6140ae4ef4ca98e3dcd9ac4aa5442abcfd44551b (diff) | |
parent | 21de1ab0f0ed584ee99b36134f4c44e9fe0fa403 (diff) |
Merge pull request #37 from tomba/work
Formatting changes and testmodes.py
Diffstat (limited to 'py/pykms')
-rw-r--r-- | py/pykms/pykmsbase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index 668e6e3..b4dc090 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp @@ -229,6 +229,9 @@ void init_pykmsbase(py::module &m) .def_property("hsync", &Videomode::hsync, &Videomode::set_hsync) .def_property("vsync", &Videomode::vsync, &Videomode::set_vsync) + + .def("to_string_short", &Videomode::to_string_short) + .def("to_string_long", &Videomode::to_string_long) ; |