Sha256: c9ce96f373813ad72b131f60336238be88ed9011ee7f77baeb29f3fdb90b8e19

Contents?: true

Size: 414 Bytes

Versions: 7

Compression:

Stored size: 414 Bytes

Contents

module GirFFI
  module Builder
    module Argument
      # Abstract base class implementing argument processing for arguments
      # with direction :inout.
      class InOutBase < Base
        def initialize var_gen, name, typeinfo
          super var_gen, name, typeinfo
          @inarg = @name
        end

        def retname
          @retname ||= @var_gen.new_var
        end
      end
    end
  end
end



Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gir_ffi-0.4.2 lib/gir_ffi/builder/argument/in_out_base.rb
gir_ffi-0.4.1 lib/gir_ffi/builder/argument/in_out_base.rb
gir_ffi-0.4.0 lib/gir_ffi/builder/argument/in_out_base.rb
gir_ffi-0.3.2 lib/gir_ffi/builder/argument/in_out_base.rb
gir_ffi-0.3.1 lib/gir_ffi/builder/argument/in_out_base.rb
gir_ffi-0.3.0 lib/gir_ffi/builder/argument/in_out_base.rb
gir_ffi-0.2.3 lib/gir_ffi/builder/argument/in_out_base.rb