Method

GLibMappedFileref

Declaration

GMappedFile*
g_mapped_file_ref (
  GMappedFile* file
)

Description

Increments the reference count of file by one. It is safe to call this function from any thread.

Available since:2.22

Return value

Returns: GMappedFile
 

The passed in GMappedFile.

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