view debug.c @ 109:b7df624895b2

Hack to reduce overhead of Escape Rhope Name
author Mike Pavone <pavone@retrodev.com>
date Wed, 06 Oct 2010 23:47:26 +0000
parents 76568becd6d6
children
line wrap: on
line source

#include <stdlib.h>
#include "debugmacros.h"

void * debug_malloc(size_t size, char * msg)
{
	void * ptr = malloc(size);
	DEBUGPRINTF("malloc: %X (%X bytes), %s\n", ptr, size, msg);
	return ptr;
}