Fix building bindings

This commit is contained in:
Sergey Yershov 2017-03-09 16:01:24 +03:00
parent 534378504f
commit e0c7e8a881

View file

@ -29,7 +29,7 @@ BOOST_PYTHON_MODULE(pytracking)
class_<coding::TrafficGPSEncoder::DataPoint>("DataPoint")
.def(init<uint64_t, ms::LatLon const &>())
.def_readwrite("timestamp", &coding::TrafficGPSEncoder::DataPoint::m_timestamp)
.def_readwrite("coords", &coding::TrafficGPSEncoder::DataPoint::m_latLon);
.def_readwrite("coords", &coding::TrafficGPSEncoder::DataPoint::m_latLon)
.def_readwrite("traffic", &coding::TrafficGPSEncoder::DataPoint::m_traffic);
enum_<Protocol::PacketType>("PacketType")