shithub: view

ref: 3f239295d1fec3dbc03ce17acd66de9f0d81479f
dir: view/a.h

View raw version
enum
{
	NINE,
	SVG,
	JPEG,
	GIF,
	PNG,
	BMP,
};

void*	emalloc(ulong);
void*	erealloc(void*, ulong);
Image*	eallocimage(int, int, ulong, int, ulong);
uchar*	readfile(char*, int*);
int		writefile(char*, char*, int);
int		fileformat(char*);
Image*	ipipeto(Image*, char*);

int sepmenuhit(int, Mousectl*, Menu*, Screen*);