Sha256: 318f94a0885de95eb01ce6c576412196a6b96c4868539f44408b0e9458fc6909
Contents?: true
Size: 868 Bytes
Versions: 2
Compression:
Stored size: 868 Bytes
Contents
module GirFFI # Wraps a GITypeInfo struct. # Represents type information, direction, transfer etc. class ITypeInfo < IBaseInfo def pointer? Lib.g_type_info_is_pointer @gobj end def tag Lib.g_type_info_get_tag @gobj end def param_type(index) ITypeInfo.wrap(Lib.g_type_info_get_param_type @gobj, index) end def interface ptr = Lib.g_type_info_get_interface @gobj IRepository.wrap_ibaseinfo_pointer ptr end def array_length Lib.g_type_info_get_array_length @gobj end def array_fixed_size Lib.g_type_info_get_array_fixed_size @gobj end def array_type Lib.g_type_info_get_array_type @gobj end def zero_terminated? Lib.g_type_info_is_zero_terminated @gobj end def name raise "Should not call this for gir 0.6.5 ..." end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.0.14 | lib/gir_ffi/i_type_info.rb |
gir_ffi-0.0.13 | lib/gir_ffi/i_type_info.rb |