comp.lang.ada
 help / color / mirror / Atom feed
* Ada to C interface
@ 1997-01-23  0:00 Tim Armentrout
  1997-01-24  0:00 ` Larry Kilgallen
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Armentrout @ 1997-01-23  0:00 UTC (permalink / 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)




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-01-24  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-01-23  0:00 Ada to C interface Tim Armentrout
1997-01-24  0:00 ` Larry Kilgallen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox