summaryrefslogtreecommitdiff
path: root/py/pykms/pykmsbase.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2019-10-02 12:19:10 +0300
committerGitHub <noreply@github.com>2019-10-02 12:19:10 +0300
commit934416e1dfa8222a0a1746a5a0951e2b08d02eae (patch)
treefaec976b3629eaa61335b781d1b0527c66d14c69 /py/pykms/pykmsbase.cpp
parent6140ae4ef4ca98e3dcd9ac4aa5442abcfd44551b (diff)
parent21de1ab0f0ed584ee99b36134f4c44e9fe0fa403 (diff)
Merge pull request #37 from tomba/work
Formatting changes and testmodes.py
Diffstat (limited to 'py/pykms/pykmsbase.cpp')
-rw-r--r--py/pykms/pykmsbase.cpp3
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)
;