Hi
I have run into some problems with the translation of libplot.
Given this declaration: plPlotter * pl_newpl_r (___const char *type, FILE *infile, FILE *outfile, FILE *errfile, const plPlotterParams *plotter_params);
and this call: if ((plotter = pl_newpl_r ("meta", stdin, stdout, stderr, plotter_params)) == NULL)
how would you translate the "FILE *foo" to GPC? Would it be "foo : file" or "var foo : file" or "foo : text" or "var foo : text" or "foo : pfile" { pfile = ^file } or "foo : ptext" { ptext = ^text }
or something else?
The issue here seems to be the precise equivalent of the C "FILE" struct. I believe that the library wants to write to these "FILE *" stuff.
Thanks.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/