shithub: vexed

ref: d743498615c8e3b3f09578b924a96ac4faea85df
dir: /a.h/

View raw version
typedef struct Buffer Buffer;

struct Buffer
{
	uchar *data;
	usize count;
	usize size;
};

int readfile(Buffer*, char*);
int writefile(Buffer*, char*);

/* COLORS */
enum
{
	BACK,
	ADDR,
	HEX,
	ASCII,
	SCROLL,
	NCOLS,
};

Image* cols[NCOLS];

void initcols(int);