Sha256: bb77ab133f91e9c285859466db3708a11af06b169f97bed38d757e56eb1a5052
Contents?: true
Size: 1.04 KB
Versions: 3
Compression:
Stored size: 1.04 KB
Contents
# frozen_string_literal: true require 'ffi' require_relative '../../ext/ffi_library_function_checks' module FFI module CPL module Progress extend ::FFI::Library ffi_lib [FFI::CURRENT_PROCESS, FFI::GDAL.gdal_library_path] #------------------------------------------------------------------------- # Functions #------------------------------------------------------------------------- attach_function :GDALCreateScaledProgress, [:double, :double, FFI::GDAL::GDAL.find_type(:GDALProgressFunc), :pointer], :pointer attach_function :GDALDestroyScaledProgress, %i[pointer], :void ScaledProgress = attach_function :GDALScaledProgress, %i[double string pointer], :int TermProgress = attach_function :GDALTermProgress, %i[double string pointer], :int end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ffi-gdal-1.0.2 | lib/ffi/cpl/progress.rb |
ffi-gdal-1.0.1 | lib/ffi/cpl/progress.rb |
ffi-gdal-1.0.0 | lib/ffi/cpl/progress.rb |