Mercurial > hg > octave-lyh
diff src/pt-plot.h @ 1755:3a9462b655f1
[project @ 1996-01-22 04:47:22 by jwe]
author | jwe |
---|---|
date | Mon, 22 Jan 1996 04:47:22 +0000 |
parents | fa3e6cf13745 |
children | effa9400766f |
line wrap: on
line diff
--- a/src/pt-plot.h +++ b/src/pt-plot.h @@ -165,9 +165,9 @@ subplot_style (void) : tree_print_code (), style (0), linetype (0), pointtype (0) { } - subplot_style (char *s); - subplot_style (char *s, tree_expression *lt); - subplot_style (char *s, tree_expression *lt, tree_expression *pt); + subplot_style (const string& s); + subplot_style (const string& s, tree_expression *lt); + subplot_style (const string& s, tree_expression *lt, tree_expression *pt); ~subplot_style (void); @@ -178,7 +178,7 @@ void print_code (ostream& os); private: - char *style; + string style; tree_expression *linetype; tree_expression *pointtype; }; @@ -234,8 +234,8 @@ void print_code (ostream& os); }; -extern char *save_in_tmp_file (tree_constant& t, int ndim = 2, - int parametric = 0); +extern string save_in_tmp_file (tree_constant& t, int ndim = 2, + int parametric = 0); extern void mark_for_deletion (const string&); @@ -243,7 +243,7 @@ extern void close_plot_stream (void); -extern void do_external_plotter_cd (const char *newdir); +extern void do_external_plotter_cd (const string& newdir); #endif