Module: GirFFI::InfoExt::ICallbackInfo
- Included in:
- GObjectIntrospection::ICallbackInfo
- Defined in:
- lib/gir_ffi/info_ext/i_callback_info.rb
Overview
Extensions for GObjectIntrospection::ICallbackInfo needed by GirFFI
Instance Method Summary collapse
- #argument_ffi_types ⇒ Object
- #return_ffi_type ⇒ Object
- #to_callback_ffi_type ⇒ Object
- #to_ffi_type ⇒ Object
Instance Method Details
#argument_ffi_types ⇒ Object
15 16 17 |
# File 'lib/gir_ffi/info_ext/i_callback_info.rb', line 15 def argument_ffi_types args.map(&:to_callback_ffi_type) end |
#return_ffi_type ⇒ Object
19 20 21 |
# File 'lib/gir_ffi/info_ext/i_callback_info.rb', line 19 def return_ffi_type return_type.to_callback_ffi_type end |
#to_callback_ffi_type ⇒ Object
11 12 13 |
# File 'lib/gir_ffi/info_ext/i_callback_info.rb', line 11 def to_callback_ffi_type :pointer end |
#to_ffi_type ⇒ Object
7 8 9 |
# File 'lib/gir_ffi/info_ext/i_callback_info.rb', line 7 def to_ffi_type Builder.build_class(self) end |