comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Pragma Export and initialized variables
Date: Wed, 23 Jan 2002 22:04:47 GMT
Date: 2002-01-23T22:04:47+00:00	[thread overview]
Message-ID: <wccbsfkyb9c.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 877f1a1d.0201230215.32fcb15a@posting.google.com

sandrobinetti@yahoo.com (Sandro Binetti) writes:

> I have to export some complex procedures written in ADA and import
> them in a gtk based environment.
> 
> What about my ada initialized variables? Suppose that a variable is
> initialized by using the value of a function defined in another
> package, I'll find it correctly initialized? Do I have to arrange and
> export an "init_variables" procedure?

You need to call adainit and adafinal on the C side before calling
anything on the Ada side.

- Bob



  reply	other threads:[~2002-01-23 22:04 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 [this message]
2002-01-24  8:50   ` Sandro Binetti
2002-01-24 18:14     ` Stephen Leake
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