comp.lang.ada
 help / color / mirror / Atom feed
From: "Harald van Dijk" <truedfx@gmail.com>
Subject: Re: C and ADA
Date: Wed, 02 Jan 2008 23:44:45 +0100
Date: 2008-01-02T23:44:45+01:00	[thread overview]
Message-ID: <37b7f$477c13dd$541dfcd3$9262@cache2.tilbu1.nb.home.nl> (raw)
In-Reply-To: slrnfno496.3gs.nospam@nospam.invalid

On Wed, 02 Jan 2008 23:33:10 +0100, Brian wrote:
> Hi I have an ADA function that I'd like to call from my C program.
> 
> Is there any way to provide a .h file containing a C prototype for the
> ADA function and then link the ADA with the C? Does anyone have any
> experience of this?

C doesn't define how to mix C with other languages. I believe Ada does 
define how to mix Ada with other languages, so you're better off asking 
in an Ada newsgroup.



  reply	other threads:[~2008-01-02 22:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02 22:33 C and ADA Brian
2008-01-02 22:44 ` Harald van Dijk [this message]
2008-01-02 22:47 ` Keith Thompson
2008-01-02 23:09 ` Lucretia
2008-01-03  7:38 ` Jerry
  -- strict thread matches above, loose matches on Subject: below --
1998-10-22  0:00 C++ and Ada yuen3785
1998-10-22  0:00 yuen3785
1998-10-23  0:00 ` Stephen Leake
1998-10-23  0:00 ` Jerry van Dijk
replies disabled

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