Hi Alan,

ah, I will have a look at that - I checked the F77 case
and realised why the plfill and plline entries were missing.
For F95 we have Fortran wrappers that ultimately call
the C versions. The reason is that we can then hide the
parameter for the number of points (that is one other
reason for having Fortran wrappers).

Regards,

Arjen

On 2009-12-02 09:48, Alan W. Irwin wrote:
> On 2009-12-02 09:18+0100 Arjen Markus wrote:
> 
>> Hi Alan,
>>
>> On 2009-12-02 08:04, Alan W. Irwin wrote:
>>
>>> f77 and f95 have also been completed as of revision 10665. For both 
>>> f77 and
>>> f95 there appear to be some *.def file updates still to do for 
>>> plgradient.
>>> I assume the windows Fortran 77 and 95 example builds will be broken 
>>> because
>>> of that lack, but I don't know how to properly update those files 
>>> myself (no
>>> documentation of the formats that I can find) so I am leaving that to 
>>> our
>>> windows developers.
>>>
>>> BTW, in the f77 *.def file case, I noticed the files were really out 
>>> of date
>>> (no mention of plfill or plline, for example.) I assume that means 
>>> nobody
>>> has actually tried to build the f77 examples on Windows for some time 
>>> (using
>>> -DBUILD_TEST=ON).  Could one of our developers with access to windows 
>>> with
>>> a fortran compiler please rectify that situation?
>>>
>>
>> There is no need for a plfill, plgradient or plline entry in the .def
>> files: these wrappers are implemented entirely in C and via the FNAME()
>> macro the right magic is automatically added (*). It is only when the
>> routine is written in Fortran (for whatever reason, passing strings
>> is one reason) that we need an entry in the .def files. The alternative
>> would be some ugly compiler-dependent compiler directives in the Fortran
>> code.
> 
> plline and plfill are in the f95 versions of the *.def files.  From your
> comment, that is because for that case (but not f77) they appear as fortran
> source.  The same is true for the f95 (but not f77) version of plgradient.
> So I guess that means the f95 versions of the *.def files have to be 
> updated
> for plgradient.
> 
> 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
> __________________________
> 

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to