Add simple instance count facility
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 9 Oct 2014 20:38:10 +0000 (16:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 11 Oct 2014 17:54:29 +0000 (13:54 -0400)
commit011bf876e75c93c6b3fb9dd24d9458d881d4b36b
treed927c00c7f21f8cb0f4774b80450ff775dc4a6a1
parentaa401aef878eb0dc02e0c4523cadceaa714ac012
Add simple instance count facility

Add GOBJECT_DEBUG=instance-count which enables internal accounting
of the number of instances of each GType, and g_type_get_instance_count()
to retrieve the result.

https://bugzilla.gnome.org/show_bug.cgi?id=354457
gobject/gtype.c
gobject/gtype.h