Sha256: a463cac6b40e49bca262e4a9616bd5595dad566565f7bad9ee9cecdad2d5ec52
Contents?: true
Size: 1.17 KB
Versions: 9
Compression:
Stored size: 1.17 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
9 entries across 9 versions & 1 rubygems