Ruminate
Type introspection for C
 All Classes Files Functions Enumerations Enumerator Macros Pages
RArrayType Struct Reference

An opaque struct representing an array type. More...

Inheritance diagram for RArrayType:
Inheritance graph

Public Member Functions

size_t r_array_type_size (RArrayType *type, GError **error)
 Get the size of this array. More...
 
RTypeMemberr_array_type_member_at (RArrayType *type, size_t index, GError **error)
 Get the type of a member of this array. More...
 
- Public Member Functions inherited from RType
RTypeId r_type_id (RType *type, GError **error)
 Get the type identifier of this type. More...
 
RStringr_type_name (RType *type, GError **error)
 Get the name of this type. More...
 
RTyper_type_ref (RType *type)
 Increase the reference count of this type. More...
 
void r_type_unref (RType *type)
 Decrease the reference count of this. More...
 
RTyper_type_pointer (RType *type, GError **error)
 Get an RType representing a pointer to this type. More...
 

Detailed Description

An opaque struct representing an array type.

Member Function Documentation

RTypeMember * r_array_type_member_at ( RArrayType type,
size_t  index,
GError **  error 
)

Get the type of a member of this array.

Returns
A RTypeMember representing the type of the argument at index index
Parameters
[in]typethe type to get the member type of
[in]indexthe index in the array to get the member type of
[out]errorsee errors.h
size_t r_array_type_size ( RArrayType type,
GError **  error 
)

Get the size of this array.

Returns
the size of the array
Parameters
[in]typethe type to get the size of
[out]errorsee errors.h

The documentation for this struct was generated from the following file: