comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: How to pass around access types to interfaces?
Date: Fri, 24 Oct 2008 14:32:06 -0700 (PDT)
Date: 2008-10-24T14:32:06-07:00	[thread overview]
Message-ID: <031d5069-6195-4d22-ae8c-1cc6c2985ea8@a1g2000hsb.googlegroups.com> (raw)
In-Reply-To: c5772601-5fc5-4f2c-a75d-241accf9072d@k30g2000hse.googlegroups.com

On Oct 24, 12:45 pm, Sven <sven.weida...@gmail.com> wrote:
> I'm trying to get this code to run:
>
> in some package:
>   type My_Interface is interface;
>   type My_Interface_Access is access all My_Interface'Class;
>
>   procedure Do_Something( Item : in out Some_Object; With :
> My_Interface_Access );

Does your compiler let you use the reserved word 'with' as the name of
a parameter? That could confuse things ..



  parent reply	other threads:[~2008-10-24 21:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 11:45 How to pass around access types to interfaces? Sven
2008-10-24 12:24 ` Niklas Holsti
2008-10-24 12:49   ` Sven
2008-10-24 13:55     ` Ludovic Brenta
2008-10-24 21:32 ` sjw [this message]
2008-10-25  8:54   ` Sven
2008-10-25 15:43 ` Martin Krischik
2008-10-25 22:15   ` Robert A Duff
2008-10-26  8:02     ` Dmitry A. Kazakov
2008-10-26 15:50     ` Martin Krischik
2008-10-28 13:41       ` Maciej Sobczak
2008-10-29 14:15         ` Martin Krischik
2008-10-31 13:38           ` Maciej Sobczak
2008-10-31 14:46             ` Dmitry A. Kazakov
2008-10-29 12:42   ` Sven
2008-10-29 13:17     ` Dmitry A. Kazakov
replies disabled

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