This commit is contained in:
Behdad Esfahbod 2012-05-11 03:40:58 +02:00
parent cf26510dbb
commit 7bd2b04fea
1 changed files with 5 additions and 3 deletions

View File

@ -197,10 +197,12 @@ struct _hb_object_header_t {
inline void trace (const char *function) const {
if (unlikely (!this)) return;
/* XXX We cannot use DEBUG_MSG_FUNC here since that one currecntly only
* prints the class name and throughs away the template info. */
DEBUG_MSG (OBJECT, (void *) this,
"refcount=%d %s",
this ? ref_count.get_unsafe () : 0,
function);
"%s refcount=%d",
function,
this ? ref_count.get_unsafe () : 0);
}
};