Sha256: 78a794c0b13359e43497851798836bca5a546c72e1a3642f7cc70ada6b6997df
Contents?: true
Size: 494 Bytes
Versions: 9
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true module GirFFI module InfoExt # Extensions for GObjectIntrospection::IFunctionInfo needed by GirFFI module IFunctionInfo def argument_ffi_types super.tap do |types| types.unshift :pointer if method? types << :pointer if throws? end end def return_ffi_type return_type.to_ffi_type end end end end GObjectIntrospection::IFunctionInfo.send :include, GirFFI::InfoExt::IFunctionInfo
Version data entries
9 entries across 9 versions & 1 rubygems