Method

GIRepositoryTypelibref

since: 2.80

Declaration

GITypelib*
gi_typelib_ref (
  GITypelib* typelib
)

Description

Increment the reference count of a GITypelib.

Available since: 2.80

Return value

Type: GITypelib

The same typelib pointer.

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