Sha256: 1db586b03b2a9ea70a84ac0d4a10b503c096f98042bba027f0b58d0859185eea
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
require 'ffi' require_relative '../../ext/ffi_library_function_checks' require_relative 'api' module FFI module OGR module Geocoding extend ::FFI::Library ffi_lib [::FFI::CURRENT_PROCESS, ::FFI::GDAL.gdal_library_path] #------------------------------------------------------------------------ # Typedefs #------------------------------------------------------------------------ typedef :pointer, :OGRGeocodingSessionH #------------------------------------------------------------------------ # Functions #------------------------------------------------------------------------ attach_function :OGRGeocodeCreateSession, %i[pointer], :OGRGeocodingSessionH attach_function :OGRGeocodeDestroySession, %i[OGRGeocodingSessionH], :void attach_function :OGRGeocode, %i[OGRGeocodingSessionH string pointer pointer], FFI::OGR::API.find_type(:OGRLayerH) attach_function :OGRGeocodeReverse, %i[OGRGeocodingSessionH double double pointer], FFI::OGR::API.find_type(:OGRLayerH) attach_function :OGRGeocodeFreeResult, [FFI::OGR::API.find_type(:OGRLayerH)], :void end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffi-gdal-1.0.0.beta5 | lib/ffi/ogr/geocoding.rb |
ffi-gdal-1.0.0.beta4 | lib/ffi/ogr/geocoding.rb |