We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 893825e commit 8e228c1Copy full SHA for 8e228c1
cuckoo_time_translator_python/src/module.cpp
@@ -60,6 +60,7 @@ void exportTimestampOwts()
60
61
class_<SwitchingOwt, bases<OneWayTranslator>, boost::noncopyable>("SwitchingOwt", init<double, const OneWayTranslator &>())
62
.def("getSwitchingTimeSeconds", &SwitchingOwt::getSwitchingTimeSeconds, "double getSwitchingTimeSeconds() const")
63
+ .def("getCurrentOwt", static_cast<OneWayTranslator& (SwitchingOwt::*)()>(&SwitchingOwt::getCurrentOwt), return_internal_reference<>(), "OneWayTranslator& getCurrentOwt()")
64
;
65
66
}
0 commit comments