Sha256: f84748eff51427d786796b6919c7b5979e3abd220ba89d58046e1621fb409224

Contents?: true

Size: 386 Bytes

Versions: 5

Compression:

Stored size: 386 Bytes

Contents

module GirFFI
  module Builder
    module Argument
      # Abstract base class implementing argument processing for arguments
      # with direction :in.
      class InBase < Base
        def prepare
          @name = safe(@arginfo.name)
          @inarg = @name
        end

        def callarg
          @callarg ||= @function_builder.new_var
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gir_ffi-0.1.0 lib/gir_ffi/builder/argument/in_base.rb
gir_ffi-0.0.14 lib/gir_ffi/builder/argument/in_base.rb
gir_ffi-0.0.13 lib/gir_ffi/builder/argument/in_base.rb
gir_ffi-0.0.12 lib/gir_ffi/builder/argument/in_base.rb
gir_ffi-0.0.11 lib/gir_ffi/builder/argument/in_base.rb