#include #include #include"mino.h" #include"graph.h" NR V die(IM C*f,...)VA(f,vfprintf(stderr,f,ap),fputc('\n',stderr),exit(1)) V*make(Uz z){V*p;N(p=malloc(z), die("oom"))R p;} V*remk(V*p,Uz z){N(p=realloc(p,z),die("oom"))R p;} V del(V*p){free(p);} I main(I ac,C**av){(V)ac,(V)av; graph_init(); atexit(graph_deinit); WH(1,graph_before(),graph_events(),graph_quad(),graph_after()); R 0;}