Sha256: 1b831680e3e31cc9873c0e849ad0410e39153c56a51a9da11594b60c285292d2

Contents?: true

Size: 861 Bytes

Versions: 2

Compression:

Stored size: 861 Bytes

Contents

require 'ffi'

module FFI
  module OGR
    autoload :StyleParam,
      File.expand_path('style_param', __dir__)
    autoload :StyleValue,
      File.expand_path('style_value', __dir__)

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

      #------------------------------------------------------------------------
      # Enums
      #------------------------------------------------------------------------
      StyleType = enum :OGRSTypeString,
        :OGRSTypeDouble,
        :OGRSTypeInteger,
        :OGRSTypeBoolean

      #------------------------------------------------------------------------
      # Typedefs
      #------------------------------------------------------------------------
      SType = StyleType
      StyleParamId = FFI::OGR::StyleParam
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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