1 #include <u.h> 2 #include <libc.h> 3 #include <draw.h> 4 #include <memdraw.h> 5 6 Memimage* allocmemimage(Rectangle r,ulong chan)7allocmemimage(Rectangle r, ulong chan) 8 { 9 return _allocmemimage(r, chan); 10 } 11 12 void freememimage(Memimage * i)13freememimage(Memimage *i) 14 { 15 _freememimage(i); 16 } 17 18 void memfillcolor(Memimage * i,ulong val)19memfillcolor(Memimage *i, ulong val) 20 { 21 _memfillcolor(i, val); 22 } 23 24