TypeInfo
Object Hierarchy:
Description:
[
CCode ( lower_case_csuffix =
"type_info" , type_id =
"g_base_info_gtype_get_type ()" ) ]
[
Compact ]
public class TypeInfo :
BaseInfo
Represents type information, direction, transfer etc.
Content:
Methods:
- public void argument_from_hash_pointer (void* hash_pointer, Argument arg)
GLib data structures, such as List,
SList, and GenericSet, all store data pointers.
- public int get_array_fixed_size ()
Obtain the fixed array size of the type.
- public int get_array_length ()
Obtain the position of the argument which gives the array length of
the type.
- public ArrayType get_array_type ()
Obtain the array type for this type.
- public BaseInfo get_interface ()
For types which have
INTERFACE such as GObjects and boxed values, this function returns full
information about the referenced type.
- public TypeInfo get_param_type (int n)
Obtain the parameter type n
.
- public TypeTag get_storage_type ()
Obtain the type tag corresponding to the underlying storage type in C
for the type.
- public TypeTag get_tag ()
Obtain the type tag for the type.
- public void* hash_pointer_from_argument (Argument arg)
GLib data structures, such as List,
SList, and GenericSet, all store data pointers.
- public bool is_pointer ()
Obtain if the type is passed as a reference.
- public bool is_zero_terminated ()
Obtain if the last element of the array is null
.
Inherited Members:
All known members inherited from class GI.BaseInfo