> From: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca> > Subject: [Plplot-devel] The current project to upgrade the Fortran > interface > To: Arjen Markus <arjen.mar...@deltares.nl>, PLplot development list > <Plplot-devel@lists.sourceforge.net> > Message-ID: <alpine.deb.2.02.1412171005160.23...@enira.zlyna.ubzr> > Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII > > An additional possible goal we have been discussing is whether or not > to replace the traditional #define <function_name> c_<function_name> + > bindings/f95/plstubs.h method with the fortran-iso-c-binding BIND > method of dealing with Fortran name mangling. The large advantage of > this change is it would allow us to get rid of those confusing > #defines in our primary header file and also get rid of many more name > complications/obfuscations in bindings/f95/plstubs.h. The > disadvantage is BIND was only introduced as part of the Fortran 2003 > standard so the question Arjen is contemplating right now is how wide > is the support for BIND amongst Fortran compilers. Between us we have > tested MSVC and a large number of different flavours of gfortran (for > Linux, Cygwin, and MinGW/MSYS), and so far so good.
Changing the names in this way would break the cl-plplot Lisp bindings. I think it would probably also break at least the following other bindings: ada, ocaml, octave and tcl (based on a quick grep for the "c_" prefix) as well as the Perl binding. So that might be a large disadvantage.. -Hazen ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel