Newsgroups: comp.lang.c Path: utzoo!utgpu!jarvis.csri.toronto.edu!dgp.toronto.edu!flaps From: flaps@dgp.toronto.edu (Alan J Rosenthal) Subject: Re: linking with Fortran subroutines Message-ID: <1988Jan2.235824.27544@jarvis.csri.toronto.edu> Organization: University of Toronto References: <20615@linus.UUCP> Distribution: na Date: Sat, 2-Jan-88 23:58:23 EST In article <20615@linus.UUCP> rr@linus.UUCP (Robert Rifkin) writes: >I believe that what Fortran does is that "function" passes the address >of where the actual function begins. > I've tried C-code calls like > double precision *function( ); > . > . > x_(function, &a,&b,&c); >to no avail. I believe you might mean "double (*function)()" not "double *function()". -- "Bill Joy uses EMACS." - D. Hugh Redelmeier