Sha256: b59bb7b23519f50b63a66bf74f1221adc86641264727c02941625bd7b8c81143
Contents?: true
Size: 532 Bytes
Versions: 2
Compression:
Stored size: 532 Bytes
Contents
module GirFFI module InfoExt # Extensions for GObjectIntrospection::IVFuncInfo needed by GirFFI # TODO: Merge implementation with ICallbackInfo and ISignalInfo extensions. module IVFuncInfo def argument_ffi_types args.map { |arg| arg.to_callback_ffitype }.tap do |types| types << :pointer if throws? end end def return_ffi_type return_type.to_callback_ffitype end end end end GObjectIntrospection::IVFuncInfo.send :include, GirFFI::InfoExt::IVFuncInfo
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.7.6 | lib/gir_ffi/info_ext/i_vfunc_info.rb |
gir_ffi-0.7.5 | lib/gir_ffi/info_ext/i_vfunc_info.rb |