Sha256: 9f77e0988fbdf7ab06ca4360764b93a04b495c738363fc8cf7c4e983a395096a

Contents?: true

Size: 379 Bytes

Versions: 13

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module GObjectIntrospection
  # Wraps a GIVFuncInfo struct.
  # Represents a virtual function.
  class IVFuncInfo < ICallableInfo
    def flags
      Lib.g_vfunc_info_get_flags self
    end

    def throws?
      flags.fetch :throws
    end

    def invoker
      @invoker ||= IFunctionInfo.wrap Lib.g_vfunc_info_get_invoker self
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gir_ffi-0.17.0 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.16.1 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.16.0 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.9 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.8 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.7 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.6 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.5 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.4 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.3 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.2 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.1 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.15.0 lib/ffi-gobject_introspection/i_vfunc_info.rb