From: Jonas Nygren <ehsjony@ehs.ericsson.se>
Subject: Re: Implementing pointers to pointers in Ada
Date: 1996/09/09
Date: 1996-09-09T00:00:00+00:00 [thread overview]
Message-ID: <32343EDC.4D9@ehs.ericsson.se> (raw)
In-Reply-To: Pine.GSO.3.93.960909230243.7142A-100000@firefly.sd.monash.edu.au
Vasilios Tourloupis wrote:
>
> Dear Ada users,
>
> As the title suggests, how would I go about implementing pointers to
> pointers in Ada?
>
> For example, I have declared the following variable in C:
>
> unsigned **a;
I think this will work:
with Interfaces;
subtype unsigned is Interfaces.Unsigned_32;
type unsigned_ref is access all unsigned;
type ref_unsigned_ref is access all unsigned_ref;
>
> How would this be expressed in Ada terms?
>
> Thanx in advance,
>
> Bill Tourloupis
> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
> | Vasilios E. Tourloupis | vasilios@insect.sd.monash.edu.au |
> | Dept. of Software Development | vasilios@hestia.sd.monash.edu.au |
> | Monash University, | /\ |
> | Caulfield East, Vic., 3145 |___________/\ / \_______________|
> | Australia | \/ |
> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
> | Disclaimer: There are some that call me Bill! But I don't know why? |
> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
next prev parent reply other threads:[~1996-09-09 0:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-09 0:00 Implementing pointers to pointers in Ada Vasilios Tourloupis
1996-09-09 0:00 ` John Herro
1996-09-10 0:00 ` David Shochat
1996-09-11 0:00 ` Larry Kilgallen
1996-09-12 0:00 ` Dr. John B. Matthews
1996-09-13 0:00 ` Better MacOS Handles through Ada (was: Implementing Pointers to Pointe Larry Kilgallen
1996-09-14 0:00 ` Dr. John B. Matthews
1996-09-15 0:00 ` GUI Generators and Class Libraries (was: Better MacOS Handles Larry Kilgallen
1996-09-15 0:00 ` jim hopper
1996-09-16 0:00 ` Larry Kilgallen
1996-09-17 0:00 ` GUI Generators and Class Libraries (wa David Kristola
1996-09-17 0:00 ` GUI Generators and Class Libraries Dr. John B. Matthews
1996-09-09 0:00 ` Jonas Nygren [this message]
1996-09-09 0:00 ` Implementing pointers to pointers in Ada Mark A Biggar
1996-09-09 0:00 ` Norman H. Cohen
1996-09-09 0:00 ` Samuel Tardieu
1996-09-10 0:00 ` John Demby
1996-09-10 0:00 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox