Skip to content

question about F77_NAME()

2 messages · Liaw, Andy, Brian Ripley

#
Dear R-help,

Sorry if this is way obvious.  (It just wasn't for me...)

Do all parameters passed to Fortran routines from C need to be declared as
pointers?  In various header files (e.g., Linpack.h), that seems to be the
case.

Also, what type should I declare in front of F77_NAME() for a subroutine?
void?

Thanks for any help!

Regards,
Andy


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 8 Feb 2002, Liaw, Andy wrote:

            
Yes. Fortran passes by reference.
Yes.