display ref counts in vips_object_print_all()

This commit is contained in:
John Cupitt 2015-01-05 15:17:21 +00:00
parent 90725b9f5e
commit 5813b88a52
1 changed files with 1 additions and 0 deletions

View File

@ -2903,6 +2903,7 @@ vips_object_print_all_cb( VipsObject *object, int *n )
*n, G_OBJECT_TYPE_NAME( object ), object );
if( object->local_memory )
fprintf( stderr, " %zd bytes", object->local_memory );
fprintf( stderr, ", count=%d", G_OBJECT( object )->ref_count );
fprintf( stderr, "\n" );
vips_object_summary_class( class, &buf );