specified the type in a log message in lib/obj.c
This commit is contained in:
		| @ -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)) | 	if (!ptr && moo->errnum == MOO_EOOMEM && !(moo->option.trait & MOO_NOGC)) | ||||||
| 	{ | 	{ | ||||||
| 		moo_gc (moo); | 		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",  | 			"GC completed - current heap ptr %p limit %p size %zd free %zd\n",  | ||||||
| 			moo->curheap->ptr, moo->curheap->limit, | 			moo->curheap->ptr, moo->curheap->limit, | ||||||
| 			(moo_oow_t)(moo->curheap->limit - moo->curheap->base), | 			(moo_oow_t)(moo->curheap->limit - moo->curheap->base), | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user