GIRepository.ConstantInfo.get_type_info

### Method

# GIRepository ConstantInfoget_type_info

since: 2.80

#### Declaration [src]

    GITypeInfo*
    gi_constant_info_get_type_info (
      GIConstantInfo* info
    )

#### Description [src]

Obtain the type of the constant as a `GITypeInfo`.

Available since: 2.80

#### Return value

Type: `GITypeInfo`

The `GITypeInfo`. Free the struct by calling `gi_base_info_unref()` when done.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.