Sha256: 8aa73060efcaf7c50658c145e681eb949ad2f833a5ca09e0866731fae3a0be05

Contents?: true

Size: 421 Bytes

Versions: 3

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true
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

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.9.5 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.9.4 lib/gir_ffi/user_data_type_info.rb
gir_ffi-0.9.3 lib/gir_ffi/user_data_type_info.rb