comp.lang.ada
 help / color / mirror / Atom feed
From: njt@minster.york.ac.uk (Nigel J. Tracey)
Subject: C Calling GNAT
Date: 1996/07/03
Date: 1996-07-03T00:00:00+00:00	[thread overview]
Message-ID: <836384269.1@cs.york.ac.uk> (raw)
In-Reply-To: 836306640.0@cs.york.ac.uk



Can anybody provide me with an example of how to
get a C function to call an Ada routine. All compiled
with gcc and GNAT? I assume that this is possible.
I know it is possible for Ada to call C routines,
but I need to have a C routine call Ada. Also how
would you go about passing parameters between the
two such as enumerated types (I assume integers, etc
are fairly straight-forward)

Any help would be much appreciated.

	Thanks

		Nigel

(Please also e-mail replies to njt@minster.york.ac.uk)






  reply	other threads:[~1996-07-03  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-02  0:00 C Calling GNAT Nigel J. Tracey (4Y0)
1996-07-03  0:00 ` Nigel J. Tracey [this message]
1996-07-03  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