Sha256: 9645152c65ecb66356739f41e8ddef46468da5ecdf16af2021bc07638feabd9d
Contents?: true
Size: 616 Bytes
Versions: 3
Compression:
Stored size: 616 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 self end def flags Lib.g_function_info_get_flags self 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
3 entries across 3 versions & 1 rubygems