Sha256: 16826c6a9a52870ef1d6e869bd458d7aa4bcdeb111ca2f675428a1085ba272d9
Contents?: true
Size: 394 Bytes
Versions: 7
Compression:
Stored size: 394 Bytes
Contents
module GirFFI module Builders # Builder that generates code to convert closure arguments ('user data') # from Ruby to C. Used by argument builders. class ClosureToPointerConvertor def initialize(argument_name) @argument_name = argument_name end def conversion "GirFFI::InPointer.from_closure_data(#{@argument_name})" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems