Sha256: 9dc2a4630a44468aae6e09de05551d322cab71e8e635058dd4abf856a2d0653d

Contents?: true

Size: 366 Bytes

Versions: 9

Compression:

Stored size: 366 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
      IFunctionInfo.wrap Lib.g_vfunc_info_get_invoker self
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.14.1 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.14.0 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.13.1 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.13.0 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.12.1 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.12.0 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.11.4 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.11.3 lib/ffi-gobject_introspection/i_vfunc_info.rb
gir_ffi-0.11.2 lib/ffi-gobject_introspection/i_vfunc_info.rb