Re: [Plplot-devel] Changing 2-d arrays

2011-12-03 Thread Alan W. Irwin
On 2011-12-03 09:01- Andrew Ross wrote: > > I have just committed a fairly large update to change the 2d arrays in > our API from const PLFLT ** to const PLFLT * const *. Gcc warns about > the use of const PLFLT ** because it only guarantees that the data is > constant not the array of pointer

[Plplot-devel] Changing 2-d arrays

2011-12-03 Thread Andrew Ross
I have just committed a fairly large update to change the 2d arrays in our API from const PLFLT ** to const PLFLT * const *. Gcc warns about the use of const PLFLT ** because it only guarantees that the data is constant not the array of pointers to the data. It is therefore trivial to change the