GMappedFile: add refcounting, switch to GSlice

- add g_mapped_file_ref() and g_mapped_file_unref().
  - deprecate g_mapped_file_free().
  - move to GSlice for allocating the GMappedFile struct.
This commit is contained in:
Ryan Lortie
2009-06-18 15:00:01 -04:00
parent 8cb481fd5f
commit 4c791f49e5
4 changed files with 77 additions and 19 deletions

View File

@@ -1114,6 +1114,8 @@ g_dir_close
<SUBSECTION>
GMappedFile
g_mapped_file_new
g_mapped_file_ref
g_mapped_file_unref
g_mapped_file_free
g_mapped_file_get_length
g_mapped_file_get_contents