Class: GirFFI::UserDataTypeInfo

Inherits:
Object
  • Object
show all
Includes:
InfoExt::ITypeInfo
Defined in:
lib/gir_ffi/user_data_type_info.rb

Constant Summary

Constants included from InfoExt::ITypeInfo

InfoExt::ITypeInfo::TAG_TO_WRAPPER_CLASS_MAP

Instance Method Summary collapse

Methods included from InfoExt::ITypeInfo

#argument_class_name, #element_type, #extra_conversion_arguments, #flattened_tag, flattened_tag_to_gtype_map, #g_type, #interface_type, #make_g_value, #needs_conversion_for_callbacks?, #needs_conversion_for_functions?, #needs_ruby_to_c_conversion_for_functions?, #tag_or_class, #to_callback_ffitype, #to_ffitype

Instance Method Details

#array_lengthObject



14
15
16
# File 'lib/gir_ffi/user_data_type_info.rb', line 14

def array_length
  -1
end

#pointer?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/gir_ffi/user_data_type_info.rb', line 10

def pointer?
  true
end

#tagObject



6
7
8
# File 'lib/gir_ffi/user_data_type_info.rb', line 6

def tag
  :void
end