Sha256: b715dd518e1c969f967f8ccc281ba088fe7c6bd6f2f70ee8d62cb389b17e2827
Contents?: true
Size: 617 Bytes
Versions: 9
Compression:
Stored size: 617 Bytes
Contents
# frozen_string_literal: true module GObjectIntrospection # Wraps a GIFunctionInfo struct. # Represents a function or method. class IFunctionInfo < ICallableInfo def symbol Lib.g_function_info_get_symbol @gobj end def flags Lib.g_function_info_get_flags @gobj end def method? flags[:is_method] end def constructor? flags[:is_constructor] end def getter? flags[:is_getter] end def setter? flags[:is_setter] end def wraps_vfunc? flags[:wraps_vfunc] end def throws? flags[:throws] end end end
Version data entries
9 entries across 9 versions & 1 rubygems