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; }
Image* allocimage(Display *d, Rectangle r, ulong chan, int repl, ulong val) { return _allocimage(nil, d, r, chan, repl, val, 0, 0); }