Sha256: 9abc30673501e16ce1c7ac0e29d4da73f2df2a618f2184db320a967771153871

Contents?: true

Size: 479 Bytes

Versions: 15

Compression:

Stored size: 479 Bytes

Contents

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

    def throws?
      flags & 8 != 0
    end

    def offset
      Lib.g_vfunc_info_get_offset @gobj
    end

    def signal
      ISignalInfo.wrap(Lib.g_vfunc_info_get_signal @gobj)
    end

    def invoker
      IFunctionInfo.wrap(Lib.g_vfunc_info_get_invoker @gobj)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gir_ffi-0.9.0 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.8.6 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.8.5 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.8.4 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.8.3 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.8.2 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.8.1 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.8.0 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.7.10 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.7.9 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.7.8 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.7.7 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.7.6 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.7.5 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.7.4 lib/ffi-gobject_introspection/i_vfunc_info.rb