Пример #1
0
Image*
allocimage(Display *d, Rectangle r, uint32_t chan, int repl, uint32_t val)
{
	Image*	i;

	i =  _allocimage(nil, d, r, chan, repl, val, 0, 0);
	if (i)
		setmalloctag(i, getcallerpc(&d));
	return i;
}
Пример #2
0
Image*
allocimage(Display *d, Rectangle r, ulong chan, int repl, ulong val)
{
	return _allocimage(nil, d, r, chan, repl, val, 0, 0);
}