To Hez and Andrew: I have just assigned the "const" qualifier to all array arguments of pllegend. I think this is the right thing to do, and it seems to work fine, but neither of you mentioned this possibility when reviewing the pllegend API, and I am inexperienced with the "const" nuances. Furthermore, I notice with other PLplot functions many (but not all) array arguments do not have the "const" qualifier. So if there are downsides please let me know before the release so I can change it back.
If the decision is pro "const", should we be using this qualifier for most of the array arguments to PLplot functions? Of course, that is a large backwards-incompatible API change so we would have to pick our moment when we wanted to do that change. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel