Sha256: 1945cf87f82304e436144a4caae514c352a06e1b573a7891daa8adb41d7aa34a
Contents?: true
Size: 550 Bytes
Versions: 5
Compression:
Stored size: 550 Bytes
Contents
module GirFFI module Builder module Argument # Abstract base class implementing argument processing for arguments # with direction :out. class OutBase < Base def prepare @name = safe(@arginfo.name) end def callarg @callarg ||= @function_builder.new_var end def retname @retname ||= @function_builder.new_var end def pre [ "#{callarg} = GirFFI::InOutPointer.for #{base_type.inspect}" ] end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems