From: Tim Armentrout <tarmen@DAHLGREN.TSC.COM>
Subject: Ada to C interface
Date: 1997/01/23
Date: 1997-01-23T00:00:00+00:00 [thread overview]
Message-ID: <32E79A20@snoopy> (raw)
I'm trying to interface a C program to an Ada program, and have run into
difficulty. The problem is this: I have an Ada record defined. I have a
C procedure that needs to operate on this record. However, the Ada
program must operate on it also. The C procedure involves some extensive
low level bit manipulation that runs faster than equivalent Ada code. I
would like to take advantage of the increased speed by calling the C
procedure directly from my Ada program. However, how do I export the Ada
record structure so that my C compiler can resolve references to it,
without doing a pragma in-line ? Please help...
-- Tim (tarmen@dahlgren.tsc.com)
next reply other threads:[~1997-01-23 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-23 0:00 Tim Armentrout [this message]
1997-01-24 0:00 ` Ada to C interface Larry Kilgallen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox