ref: 5be936a1926529abc8c9a0aa2cdca81d8e6583ec
dir: /sys/src/cmd/unix/drawterm/gui-osx/load.c/
#include <u.h> #include <libc.h> #include <draw.h> #include <memdraw.h> int loadmemimage(Memimage *i, Rectangle r, uchar *data, int ndata) { return _loadmemimage(i, r, data, ndata); }