From: "Hovers" <hovers@dera.gov.uk>
Subject: Question about interfacing C and Ada95
Date: 1999/11/08
Date: 1999-11-08T00:00:00+00:00 [thread overview]
Message-ID: <806ud0$lu1$1@trog.dera.gov.uk> (raw)
if I have a c routine that returns more than one value what is thge best way
to interface to Ada with it.
e.g. int getX ( void **instance, int *float );
we have recoded the c to this as Ada funcs do not allow more than one return
val;
void getX ( void **instance, int *float, int *error );
How do I then write the Ada to interface to this in Ada 95.
Cheers
Paul Hussein.
next reply other threads:[~1999-11-08 0:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-08 0:00 Hovers [this message]
1999-11-08 0:00 ` Question about interfacing C and Ada95 Robert Dewar
1999-11-09 0:00 ` Hovers
1999-11-09 0:00 ` Matthew Heaney
1999-11-09 0:00 ` Ted Dennison
1999-11-12 0:00 ` Hovers
1999-11-12 0:00 ` Robert Dewar
1999-11-12 0:00 ` Ted Dennison
1999-11-13 0:00 ` Robert Dewar
1999-11-08 0:00 ` Matthew Heaney
1999-11-08 0:00 ` tmoran
1999-11-09 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox