Sha256: 890aa3449b8c86391b8c131c55a532397eb61153a09518be06aa7988b5cf5488

Contents?: true

Size: 375 Bytes

Versions: 8

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true
module GirFFI
  module Builders
    # Implements a blank return value matching ReturnValueBuilder's interface.
    class NullReturnValueBuilder
      def initialize
      end

      def array_length_idx
        -1
      end

      def capture_variable_name
        nil
      end

      def post_conversion
        []
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gir_ffi-0.11.0 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.10.2 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.10.1 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.10.0 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.10.0.pre1 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.9.5 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.9.4 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.9.3 lib/gir_ffi/builders/null_return_value_builder.rb