lib/ffi/gdal/ogr_api.rb in ffi-gdal-0.0.3 vs lib/ffi/gdal/ogr_api.rb in ffi-gdal-0.0.4

- old
+ new

@@ -1,28 +1,21 @@ -require 'ffi' - - module FFI module GDAL - module OGRAPI - extend FFI::Library - ffi_lib 'gdal' - #------------------------------------------------------------------------ - # Typedefs - #------------------------------------------------------------------------ - typedef :pointer, :OGRGeometryH - typedef :pointer, :OGRSpatialReferenceH - typedef :pointer, :OGRCoordinateTransformationH - typedef :pointer, :OGRFieldDefnH - typedef :pointer, :OGRFeatureDefnH - typedef :pointer, :OGRFeatureH - typedef :pointer, :OGRStyleTableH - typedef :pointer, :OGRGeomFieldDefnH - typedef :pointer, :OGRLayerH - typedef :pointer, :OGRDataSourceH - typedef :pointer, :OGRSFDriverH - typedef :pointer, :OGRStyleMgrH - typedef :pointer, :OGRStyleToolH - end + #------------------------------------------------------------------------ + # Typedefs + #------------------------------------------------------------------------ + typedef :pointer, :OGRGeometryH + typedef :pointer, :OGRSpatialReferenceH + typedef :pointer, :OGRCoordinateTransformationH + typedef :pointer, :OGRFieldDefnH + typedef :pointer, :OGRFeatureDefnH + typedef :pointer, :OGRFeatureH + typedef :pointer, :OGRStyleTableH + typedef :pointer, :OGRGeomFieldDefnH + typedef :pointer, :OGRLayerH + typedef :pointer, :OGRDataSourceH + typedef :pointer, :OGRSFDriverH + typedef :pointer, :OGRStyleMgrH + typedef :pointer, :OGRStyleToolH end end