Sha256: 0a7e21b174054d81428a2a47b4ce5c02060318affb32dbc0452f096475eee5cb

Contents?: true

Size: 551 Bytes

Versions: 2

Compression:

Stored size: 551 Bytes

Contents

require 'ffi'
require_relative '../../ext/ffi_library_function_checks'
require_relative 'gdal'
require_relative 'gcp'

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

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta5 lib/ffi/gdal/matching.rb
ffi-gdal-1.0.0.beta4 lib/ffi/gdal/matching.rb