Skip to content

Commit

Permalink
Merge pull request #14 from sebastic/std_pair_to_python_converter
Browse files Browse the repository at this point in the history
Add to_python converter for C++ type: std::pair<unsigned int, unsigned int>
  • Loading branch information
lonvia committed Jun 2, 2016
2 parents 176b789 + e7f00b5 commit 3115629
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/osm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ BOOST_PYTHON_MODULE(_osm)

to_python_converter<osmium::Timestamp, Timestamp_to_python>();
std_pair_to_python_converter<int, int>();
std_pair_to_python_converter<unsigned int, unsigned int>();
std_pair_to_python_converter<unsigned long, unsigned long>();

enum_<osmium::osm_entity_bits::type>("osm_entity_bits")
Expand Down

0 comments on commit 3115629

Please sign in to comment.