Sha256: f6b132875b089378dc4e40671503e039935aa7cce69ad8b441db15be6077785e

Contents?: true

Size: 344 Bytes

Versions: 9

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

module GirFFI
  module Builders
    # Implements a blank return value matching ReturnValueBuilder's interface.
    class NullReturnValueBuilder
      def array_length_idx
        -1
      end

      def capture_variable_name
        nil
      end

      def post_conversion
        []
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.17.0 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.16.1 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.16.0 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.15.9 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.15.8 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.15.7 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.15.6 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.15.5 lib/gir_ffi/builders/null_return_value_builder.rb
gir_ffi-0.15.4 lib/gir_ffi/builders/null_return_value_builder.rb