Sha256: 799604bcb7005de88cd29ef1070d24204bcafc9401e5b851299c44eb1ce82e7e
Contents?: true
Size: 387 Bytes
Versions: 10
Compression:
Stored size: 387 Bytes
Contents
module GirFFI module Builders # Builder that generates code to convert closure arguments ('user data') # from C to Ruby. Used by argument builders. class ClosureConvertor def initialize(argument_name) @argument_name = argument_name end def conversion "GirFFI::ArgHelper::OBJECT_STORE.fetch(#{@argument_name})" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems