Skip to content

Commit

Permalink
avoid duplicate conversions registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
artemp committed May 19, 2016
1 parent 1521215 commit 6256787
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/mapnik_datasource.cpp
Expand Up @@ -195,7 +195,6 @@ void export_datasource()
"These vary depending on the type of data source.")
.def(self == self)
;
register_ptr_to_python<std::shared_ptr<datasource> >();

def("CreateDatasource",&create_datasource);

Expand Down
1 change: 0 additions & 1 deletion src/mapnik_feature.cpp
Expand Up @@ -230,5 +230,4 @@ void export_feature()
.def("from_geojson",from_geojson_impl)
.staticmethod("from_geojson")
;
register_ptr_to_python<std::shared_ptr<mapnik::feature_impl> >();
}
1 change: 0 additions & 1 deletion src/mapnik_featureset.cpp
Expand Up @@ -86,5 +86,4 @@ void export_featureset()
"<mapnik.Feature object at 0x105e64140>\n"
)
;
register_ptr_to_python<std::shared_ptr<mapnik::Featureset> >();
}
1 change: 0 additions & 1 deletion src/mapnik_geometry.cpp
Expand Up @@ -282,5 +282,4 @@ void export_geometry()
//.def("to_svg",&to_svg)
// TODO add other geometry_type methods
;
register_ptr_to_python<std::shared_ptr<geometry<double>> >();
}
1 change: 0 additions & 1 deletion src/mapnik_image.cpp
Expand Up @@ -463,6 +463,5 @@ void export_image()
.staticmethod("from_cairo")
#endif
;
register_ptr_to_python<std::shared_ptr<image_any> >();

}

0 comments on commit 6256787

Please sign in to comment.