comp.lang.ada
 help / color / mirror / Atom feed
* Question about interfacing C and Ada95
@ 1999-11-08  0:00 Hovers
  1999-11-08  0:00 ` Robert Dewar
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Hovers @ 1999-11-08  0:00 UTC (permalink / 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.









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

end of thread, other threads:[~1999-11-13  0:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-08  0:00 Question about interfacing C and Ada95 Hovers
1999-11-08  0:00 ` Robert Dewar
1999-11-09  0:00   ` Hovers
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-09  0:00     ` Matthew Heaney
1999-11-08  0:00 ` Matthew Heaney
1999-11-08  0:00 ` tmoran
1999-11-09  0:00   ` Robert Dewar

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