Add g_clear_pointer()

Also reimplement g_clear_object() using g_clear_pointer()

https://bugzilla.gnome.org/show_bug.cgi?id=674634
This commit is contained in:
Xavier Claessens
2012-04-23 17:57:56 +02:00
parent 3f816dc5d1
commit 00285b7517
6 changed files with 61 additions and 25 deletions

View File

@@ -925,6 +925,7 @@ g_try_realloc_n
<SUBSECTION>
g_free
g_clear_pointer
g_mem_gc_friendly
<SUBSECTION>