shithub: drawterm

ref: ffc8608e723c0e5958e90b178cc2e275c7f8a4ab
dir: /gui-osx/alloc.c/

View raw version
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <memdraw.h>

Memimage*
allocmemimage(Rectangle r, ulong chan)
{
	return _allocmemimage(r, chan);
}

void
freememimage(Memimage *i)
{
	_freememimage(i);
}

void
memfillcolor(Memimage *i, ulong val)
{
	_memfillcolor(i, val);
}