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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ca21162c929cc36f X-Google-Attributes: gid103376,public From: Samuel Tardieu Subject: Re: Implementing pointers to pointers in Ada Date: 1996/09/09 Message-ID: #1/1 X-Deja-AN: 179458633 sender: tardieu@gargantua.enst.fr references: to: Vasilios Tourloupis content-type: text/plain; charset=iso-8859-1 organization: TELECOM Paris mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-09-09T00:00:00+00:00 List-Id: >>>>> "Vasilios" == Vasilios Tourloupis >>>>> writes: Vasilios> Dear Ada users, As the title suggests, how would I go about Vasilios> implementing pointers to pointers in Ada? Vasilios> For example, I have declared the following variable in C: Vasilios> unsigned **a; Vasilios> How would this be expressed in Ada terms? If you have a type called Unsigned, you may do (note the need of declaring new types): type Unsigned_Access is access all Unsigned; type Unsigned_Access_Access is access all Unsigned_Access; A : aliased Unsigned_Access_Access; Sam -- Samuel Tardieu -- sam@ada.eu.org