specified the type in a log message in lib/obj.c

This commit is contained in:
hyunghwan.chung 2018-02-10 08:10:14 +00:00
parent 92c7394658
commit 1995deec8a

View File

@ -38,7 +38,7 @@ void* moo_allocbytes (moo_t* moo, moo_oow_t size)
if (!ptr && moo->errnum == MOO_EOOMEM && !(moo->option.trait & MOO_NOGC))
{
moo_gc (moo);
MOO_LOG4 (moo, MOO_LOG_INFO,
MOO_LOG4 (moo, MOO_LOG_GC | MOO_LOG_INFO,
"GC completed - current heap ptr %p limit %p size %zd free %zd\n",
moo->curheap->ptr, moo->curheap->limit,
(moo_oow_t)(moo->curheap->limit - moo->curheap->base),