Ggit.IndexEntries.ref

### Method

# Ggit IndexEntriesref

#### Declaration [src]

    GgitIndexEntries*
    ggit_index_entries_ref (
      GgitIndexEntries* entries
    )

#### Description [src]

Atomically increments the reference count of `entries` by one. This function is MT-safe and may be called from any thread.

#### Return value

Returns: | `GgitIndexEntries`
| A `GgitIndexEntries` or `NULL`.
| The data is owned by the instance.
| The return value can be `NULL`.