%{ #include using namespace std; #include "ogr_api.h" #include "ogr_core.h" #include "cpl_port.h" #include "cpl_string.h" #include "ogr_srs_api.h" typedef void OSRSpatialReferenceShadow; typedef void OGRDriverShadow; typedef void OGRDataSourceShadow; typedef void OGRLayerShadow; typedef void OGRFeatureShadow; typedef void OGRFeatureDefnShadow; typedef void OGRGeometryShadow; typedef void OSRCoordinateTransformationShadow; typedef void OGRFieldDefnShadow; %}