[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Foreign function questions
- To: info-mcl
- Subject: Foreign function questions
- From: seth@gandalf.hrl.hac.com (Seth R. Goldman)
- Date: 13 Nov 91 07:21:29 GMT
- Distribution: na
- Newsgroups: comp.lang.lisp.mcl
- Organization: Hughes AI Center
- Sender: hacgate!news
I need to pass some arrays containing lisp floats to a fortran subroutine
that expects arrays of double precision reals (REAL*8). I'd like to
allocate and fill the arrays in lisp. I found the ccl::%put-double
and ccl::%get-double calls but obviously these are not released and
therefore not documented. The MCL manual deals with C and Pascal.
Anyone got an example showing how to allocate and pass a 2x3 array
of floats to fortran?
Thanks,
Seth Goldman
seth@gandalf.hrl.hac.com
(213) 317-5693 -- (310) 317-5693 after 11/2/91