From: <and...@us...> - 2013-05-22 22:35:04
|
Revision: 12343 http://sourceforge.net/p/plplot/code/12343 Author: andrewross Date: 2013-05-22 22:35:01 +0000 (Wed, 22 May 2013) Log Message: ----------- Update plcolorbar arrays to use the const modifier consistent with other API functions. Modified Paths: -------------- trunk/include/plplot.h trunk/src/pllegend.c Modified: trunk/include/plplot.h =================================================================== --- trunk/include/plplot.h 2013-05-22 19:04:49 UTC (rev 12342) +++ trunk/include/plplot.h 2013-05-22 22:35:01 UTC (rev 12343) @@ -1256,10 +1256,10 @@ PLINT bg_color, PLINT bb_color, PLINT bb_style, PLFLT low_cap_color, PLFLT high_cap_color, PLINT cont_color, PLFLT cont_width, - PLINT n_labels, PLINT *label_opts, const char *label[], - PLINT n_axes, const char *axis_opts[], - PLFLT *ticks, PLINT *sub_ticks, - PLINT *n_values, const PLFLT * const *values ); + PLINT n_labels, const PLINT *label_opts, const char * const *label, + PLINT n_axes, const char * const * axis_opts, + const PLFLT *ticks, const PLINT *sub_ticks, + const PLINT *n_values, const PLFLT * const *values ); // Sets position of the light source PLDLLIMPEXP void Modified: trunk/src/pllegend.c =================================================================== --- trunk/src/pllegend.c 2013-05-22 19:04:49 UTC (rev 12342) +++ trunk/src/pllegend.c 2013-05-22 22:35:01 UTC (rev 12343) @@ -1466,10 +1466,10 @@ PLINT bg_color, PLINT bb_color, PLINT bb_style, PLFLT low_cap_color, PLFLT high_cap_color, PLINT cont_color, PLFLT cont_width, - PLINT n_labels, PLINT *label_opts, const char *labels[], - PLINT n_axes, const char *axis_opts[], - PLFLT *ticks, PLINT *sub_ticks, - PLINT *n_values, const PLFLT * const *values ) + PLINT n_labels, const PLINT *label_opts, const char * const *labels, + PLINT n_axes, const char * const *axis_opts, + const PLFLT *ticks, const PLINT *sub_ticks, + const PLINT *n_values, const PLFLT * const *values ) { // Min and max values // Assumes that the values array is sorted from smallest to largest This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |