X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fchart.h;h=6915358d8a60e225823e036066bcb2ab1b31a9b6;hb=180d764e86e0f3b2fd0e2bb613d790adcd5aceb0;hp=8d1a914691f7cfae70589aa27408ef15966de123;hpb=72318eac4782acf0215da8dfd4575ac66a9a9f74;p=pspp diff --git a/src/chart.h b/src/chart.h index 8d1a914691..6915358d8a 100644 --- a/src/chart.h +++ b/src/chart.h @@ -40,7 +40,10 @@ struct chart { #ifndef NO_CHARTS plPlotter *lp ; plPlotterParams *pl_params; +#else + void *lp; #endif + char *filename; /* The geometry of the chart See diagram at the foot of this file. @@ -77,10 +80,8 @@ struct chart { }; -int chart_initialise(struct chart *ch); - -void chart_finalise(struct chart *ch); - +struct chart * chart_create(void); +void chart_submit(struct chart *ch); double chart_rounded_tick(double tick);