Article View: net.lang.f77
Article #352Re: Query: Sharing f77 COMMONs with C Externals
From: kenward
Date: Tue, 06 May 1986 16:34
Date: Tue, 06 May 1986 16:34
37 lines
1378 bytes
1378 bytes
I have a fortran graphics program that passes a single value through named
common to a C routine.
FORTRAN:
COMMON /FOO/ BAR
C:
import struct { int bar; } foo_;
I am not conversant in C, but this looks like it would work in general -- that
is, with longer commons.
Hope this helps,
Gary W. Kenward
Mobile Data International Inc.
Riverside Industrial Park
Richmond, B.C.
Canada V7A 4Z3
Plus ca change, plus c'est la meme chose!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SNAP! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
--
Gary W. Kenward
Mobile Data International Inc.
Riverside Industrial Park
Richmond, B.C.
Canada V7A 4Z3
Plus ca change, plus c'est la meme chose!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SNAP! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Technical Details
Message-ID:
<203@mdivax1.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utcsri!ubc-vision!mdivax1!kenwardReferences:
<469@cubsvax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mdivax1.UUCP Path: arc1-ca.pugleaf.net!utzoo!utcsri!ubc-vision!mdivax1!kenward From: kenward@mdivax1.UUCP (kenward) Newsgroups: net.lang.f77 Subject: Re: Query: Sharing f77 COMMONs with C Externals Message-ID: <203@mdivax1.UUCP> Date: Tue, 6-May-86 12:34:33 EDT Article-I.D.: mdivax1.203 Posted: Tue May 6 12:34:33 1986 Date-Received: Tue, 6-May-86 17:30:43 EDT References: <469@cubsvax.UUCP> Organization: Mobile Data International Inc., Rich., B.C., Canada Lines: 37