From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9c25e1f865c6aea4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-23 14:06:47 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mailgate.org!zur.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: Pragma Export and initialized variables Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Wed, 23 Jan 2002 22:04:47 GMT References: <877f1a1d.0201230215.32fcb15a@posting.google.com> NNTP-Posting-Host: shell01.theworld.com Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:19259 Date: 2002-01-23T22:04:47+00:00 List-Id: 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