shithub: pplay

ref: 51cad53e4b70b6d9fcbbbbf6530f8d7cc3d7f7cb
dir: /fns.h/

View raw version
void	dprint(Chunk*, char*, ...);
void	freechain(Chunk*);
int	unpop(char*);
int	popop(char*);
int	cpaste(Dot*);
Chunk*	ccopy(Dot*);
void	chold(Chunk*, Dot*);
void	ccut(Dot*);
void	ccrop(Dot*);
Chunk*	loadfile(int, Dot*);
int	cmd(char*);
int	initcmd(int);
void	update(int, int);
void	setzoom(int, int);
int	zoominto(vlong, vlong);
void	setrange(usize, usize);
int	setloop(vlong);
void	setpan(int);
void	setpage(int);
int	setjump(vlong);
vlong	p2off(int);
void	redraw(int);
void	initdrw(int);
int	advance(Dot*, usize);
Chunk*	p2c(usize, usize*, Dot*);
int	setpos(usize);
uchar*	getslice(Dot*, usize, usize*);
vlong	getbuf(Dot, usize, uchar*, usize);
int	χfmt(Fmt*);
int	Δfmt(Fmt*);
int	τfmt(Fmt*);
void*	emalloc(usize);
void*	erealloc(void*, usize, usize);
char*	estrdup(char*);
int	setpri(int);

#pragma	varargck	argpos	dprint	2
#pragma	varargck	type	"χ"	Chunk*
#pragma	varargck	type	"Δ"	Dot*
#pragma	varargck	type	"τ"	usize