Sha256: 002d9240621dd228376e26020decaab70dd217ae7f3503f651775f615a57e1ca

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true
module GirFFI
  # Class to represent the info for the user data argument of a signal handler.
  # Implements the necessary parts of IArgumentInfo's interface.
  class UserDataArgumentInfo
    attr_reader :argument_type

    def initialize(type)
      @argument_type = type
    end

    def direction
      :in
    end

    def skip?
      false
    end

    def name
      '_user_data'
    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_argument_info.rb
gir_ffi-0.9.4 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.9.3 lib/gir_ffi/user_data_argument_info.rb