Sha256: 780b0c4adb4f26718a91d29026ed4a049b0d41b6cd7151e79b4cbc785a644f26
Contents?: true
Size: 546 Bytes
Versions: 3
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true module GirFFI module InfoExt # Extensions for GObjectIntrospection::ICallbackInfo needed by GirFFI module ICallbackInfo def to_ffi_type Builder.build_class(self) end def to_callback_ffi_type :pointer end def argument_ffi_types args.map(&:to_callback_ffi_type) end def return_ffi_type return_type.to_callback_ffi_type end end end end GObjectIntrospection::ICallbackInfo.send :include, GirFFI::InfoExt::ICallbackInfo
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.14.1 | lib/gir_ffi/info_ext/i_callback_info.rb |
gir_ffi-0.14.0 | lib/gir_ffi/info_ext/i_callback_info.rb |
gir_ffi-0.13.1 | lib/gir_ffi/info_ext/i_callback_info.rb |