| 1 | MODULE = Geo::Geos PACKAGE = Geo::Geos::Prep::GeometryFactory | ||||||||||
| 2 | PROTOTYPES: DISABLE | ||||||||||
| 3 | |||||||||||
| 4 | BasicPreparedGeometry* prepare(Geometry& g) { | ||||||||||
| 5 | 2 | auto pg = const_cast<PreparedGeometry*>(PreparedGeometryFactory::prepare(&g)); | |||||||||
| 6 | 2 | ▶ | RETVAL = static_cast<BasicPreparedGeometry*>(pg); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 7 | 2 | ▶ | } | ||||||||
|
Branch: 1 branch
| |||||||||||