Module: GirFFI::InfoExt::ICallbackInfo
- Defined in:
- lib/gir_ffi/info_ext/i_callback_info.rb
Overview
Extensions for GObjectIntrospection::ICallbackInfo needed by GirFFI
Instance Method Summary collapse
Instance Method Details
#argument_ffi_types ⇒ Object
9 10 11 |
# File 'lib/gir_ffi/info_ext/i_callback_info.rb', line 9 def argument_ffi_types args.map { |arg| arg.to_callback_ffitype } end |
#return_ffi_type ⇒ Object
13 14 15 |
# File 'lib/gir_ffi/info_ext/i_callback_info.rb', line 13 def return_ffi_type return_type.to_callback_ffitype end |
#to_ffitype ⇒ Object
5 6 7 |
# File 'lib/gir_ffi/info_ext/i_callback_info.rb', line 5 def to_ffitype Builder.build_class(self) end |