Sha256: fb5cc94ee31309442bfc3f81908d1de5aac7f38dcb4e7211513eac64063974f1

Contents?: true

Size: 577 Bytes

Versions: 3

Compression:

Stored size: 577 Bytes

Contents

# frozen_string_literal: true

require "ffi"
require_relative "../../ext/ffi_library_function_checks"

module FFI
  module GDAL
    module Matching
      extend ::FFI::Library
      ffi_lib [::FFI::CURRENT_PROCESS, ::FFI::GDAL.gdal_library_path]

      # TODO: Seems like this should return an array of GCPs, not just a single
      # GCP.
      attach_function :GDALComputeMatchingPoints,
                      [GDAL.find_type(:GDALDatasetH), GDAL.find_type(:GDALDatasetH), :pointer, :pointer],
                      # :pointer
                      GCP.ptr
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffi-gdal-1.1.0 lib/ffi/gdal/matching.rb
ffi-gdal-1.0.4 lib/ffi/gdal/matching.rb
ffi-gdal-1.0.3 lib/ffi/gdal/matching.rb