Method

GLibDateTimeref

since: 2.26

Declaration

GDateTime*
g_date_time_ref (
  GDateTime* datetime
)

Description

Atomically increments the reference count of datetime by one.

Available since: 2.26

Return value

Type: GDateTime

The GDateTime with the reference count increased.

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