Sha256: fbae564d0cc131882a8e3b4ef6dd6b1b59cfe6655e7cfd44f1a50dff3ca98e5a
Contents?: true
Size: 466 Bytes
Versions: 9
Compression:
Stored size: 466 Bytes
Contents
# frozen_string_literal: true require 'gir_ffi/builders/c_to_ruby_convertor' module GirFFI module Builders # Builder that generates code to convert values from C to Ruby, including # GValue unpacking. Used by argument builders. class FullCToRubyConvertor < CToRubyConvertor def conversion if @type_info.gvalue? "GObject::Value.wrap(#{@argument}).get_value" else super end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems