Sha256: e3f9cb9eb607fec3886cdc50d6688ec325552d549fb588ded8c489685e4f6983

Contents?: true

Size: 391 Bytes

Versions: 13

Compression:

Stored size: 391 Bytes

Contents

require 'gir_ffi/info_ext/i_type_info'

module GirFFI
  # Represents the type of the user data (closure argument) of a signal or vfunc,
  # conforming, as needed, to the interface of GObjectIntrospection::ITypeInfo.
  class UserDataTypeInfo
    include InfoExt::ITypeInfo

    def tag
      :void
    end

    def pointer?
      true
    end

    def array_length
      -1
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gir_ffi-0.9.2 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.9.1 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.9.0 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.8.6 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.8.5 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.8.4 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.8.3 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.8.2 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.8.1 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.8.0 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.7.10 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.7.9 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.7.8 lib/gir_ffi/user_data_type_info.rb