TypeInfo


Object Hierarchy:

Object hierarchy for TypeInfo

Description:

[ CCode ( lower_case_csuffix = "type_info" , type_id = "g_base_info_gtype_get_type ()" ) ]
[ Compact ]
public class TypeInfo : BaseInfo

`GITypeInfo` represents a type, including information about direction and transfer.

You can retrieve a type info from an argument (see [class@GIRepository.ArgInfo]), a function’s return value (see [ class@GIRepository.FunctionInfo]), a field (see [class@GIRepository.FieldInfo]), a property (see [class@GIRepository.PropertyInfo]), a constant (see [class@GIRepository.ConstantInfo]) or for a union discriminator (see [class@GIRepository.UnionInfo]).

A type can either be a of a basic type which is a standard C primitive type or an interface type. For interface types you need to call [ method@GIRepository.TypeInfo.get_interface] to get a reference to the base info for that interface.


Namespace: GI

Content:

Methods:

Inherited Members: