comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <mheaney@on2.com>
Subject: Re: Pragma Import don't suppress access initialization
Date: Mon, 7 Oct 2002 13:25:35 -0400
Date: 2002-10-07T13:25:35-04:00	[thread overview]
Message-ID: <uq3gsgb0qva7c9@corp.supernews.com> (raw)
In-Reply-To: 9c9fb8b4.0210070410.fa84429@posting.google.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]


"Fr�d�ric Ormancey" <frederic.ormancey@atosorigin.com> wrote in message
news:9c9fb8b4.0210070410.fa84429@posting.google.com...
>
> Code look like this :
>
>    function Analyser_Formule (Varset : in System.ADDRESS)
>     return Integer is
>      V : Ty_Varset;
>      for V use at Varset;
>      pragma Import (Ada, V);
>
> where Ty_Varset is declared in another package :
>
>     type Varset(Nature : Character; Taille : Integer);
>     type Ty_Varset is access Varset;

What's wrong with System.Address_To_Access_Conversions?

  V : Object_Pointer := To_Pointer (Varset);







  reply	other threads:[~2002-10-07 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-07 12:10 Pragma Import don't suppress access initialization Frédéric Ormancey
2002-10-07 17:25 ` Matthew Heaney [this message]
2002-10-07 19:49   ` Jeffrey Carter
2002-10-07 17:25 ` Craig Carey
replies disabled

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