Added API g_queue_free_full().
authorRavi Sankar Guntur <ravi.g@samsung.com>
Wed, 14 Dec 2011 14:47:54 +0000 (20:17 +0530)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 16 Dec 2011 14:51:16 +0000 (09:51 -0500)
commit1d4009e6f7e1d368b3e3df2fa41b007277b600d8
treeaa4dab0698769fbc3119d2f79669fbab5a0f9a69
parent63e69b4958272c5c1525da60005cae6a974d0d48
Added API g_queue_free_full().

g_queue_free_full(), to free a Queue including its dynamically-allocated elements.
On similar lines to List and Slist.

void  g_queue_free_full  (GQueue  *queue,  GDestroyNotify    free_func);

Test case covering g_queue_free_full() is added.
Added export symbol to glib.symbols.

Closes Bug: https://bugzilla.gnome.org/show_bug.cgi?id=657433

Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
glib/glib.symbols
glib/gqueue.c
glib/gqueue.h
glib/tests/queue.c