comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Pragma Export and initialized variables
Date: 24 Jan 2002 13:14:43 -0500
Date: 2002-01-24T18:18:56+00:00	[thread overview]
Message-ID: <uk7u7ipkc.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 877f1a1d.0201240050.28d93959@posting.google.com

sandrobinetti@yahoo.com (Sandro Binetti) writes:

> Robert A Duff <bobduff@shell01.TheWorld.com> wrote in message 
> 
> > You need to call adainit and adafinal on the C side before calling
> > anything on the Ada side.
> 
> Hi Bob, tnx for your answer.
> 
> I read about "adainit" and "adafinal" inside the L.R.M., 

Um, no, these are GNAT terms, not Ada terms. You must have seen them
in the GNAT user guide.

> but the thing isn't so clear to me. Where are these procedures
> defined? Which object do I have to include into the C project?

Read the GNAT user guide again (and again ...), the section titled "A
Simple Example". It talks about C++, but C is similar, only simpler :).

-- 
-- Stephe



  reply	other threads:[~2002-01-24 18:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 10:15 Pragma Export and initialized variables Sandro Binetti
2002-01-23 22:04 ` Robert A Duff
2002-01-24  8:50   ` Sandro Binetti
2002-01-24 18:14     ` Stephen Leake [this message]
2002-01-24 19:29       ` Pascal Obry
2002-01-24 22:38         ` Larry Kilgallen
2002-01-25  3:08           ` Robert Dewar
2002-01-25 12:47             ` Marc A. Criley
2002-01-25 13:03             ` Larry Kilgallen
replies disabled

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