Sha256: e273dc5ed05887222c4ea3adccef8fec9ce12af7f056c6ff7cd4ea3d5954ea7b

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta7 lib/ffi/gdal/matching.rb
ffi-gdal-1.0.0.beta6 lib/ffi/gdal/matching.rb