Sha256: f1997b51bb5d23e491d56b263fba7d7faaaa6d2619246fe1184e16e04794f306
Contents?: true
Size: 1.23 KB
Versions: 3
Compression:
Stored size: 1.23 KB
Contents
# frozen_string_literal: true require "ffi" require_relative "../../ext/ffi_library_function_checks" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffi-gdal-1.1.0 | lib/ffi/ogr/geocoding.rb |
ffi-gdal-1.0.4 | lib/ffi/ogr/geocoding.rb |
ffi-gdal-1.0.3 | lib/ffi/ogr/geocoding.rb |