Sha256: ef728fc750824094a6ecdf469311dc2dc5e15c57ebd54ad634e31cf42985bf8a

Contents?: true

Size: 660 Bytes

Versions: 3

Compression:

Stored size: 660 Bytes

Contents

# frozen_string_literal: true

require "ffi"

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

      #------------------------------------------------------------------------
      # Typedefs
      #------------------------------------------------------------------------
      typedef :int, :GInt32
      typedef :uint, :GUInt32
      typedef :short, :GInt16
      typedef :ushort, :GUInt16
      typedef :uchar, :GByte
      typedef :int, :GBool
      typedef :long_long, :GIntBig
      typedef :ulong_long, :GUIntBig
      typedef :GIntBig, :GPtrDiff_t
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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