Sha256: ee59a3b450d37503ae3f60b7d4a6654e17e069d8d376299526ec3bb90e075f3b
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true require 'gir_ffi/builders/base_return_value_builder' module GirFFI module Builders # Implements post-conversion for initializer functions class InitializerReturnValueBuilder < BaseReturnValueBuilder def post_conversion result = [] result << "store_pointer(#{capture_variable_name})" if specialized_type_tag == :struct result << '@struct.owned = true' end result end end end end
Version data entries
4 entries across 4 versions & 1 rubygems