Sha256: 584a9f4bb8b152897747cdc19a42df7ad9b3864020fc958beb80254e26bed430
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
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 base = super if @type_info.gvalue? "#{base}.get_value" else base end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems