From: "Markus Schöpflin" <no.spam@spam.spam>
Subject: Re: Access to procedure and generics
Date: Wed, 29 Aug 2012 13:25:58 +0200
Date: 2012-08-29T13:25:58+02:00 [thread overview]
Message-ID: <k1ku84$npr$1@speranza.aioe.org> (raw)
In-Reply-To: 647e1a9e-e8be-4ad2-a9d4-21c8ae6f52f2@googlegroups.com
Am 28.08.2012 17:57, schrieb Adam Beneschan:
[snip excellent explanation]
Adam,
thank you very much for your detailed explanation of the problem and the
pointers to possible solutions.
Unfortunately, the generic interface is basically cast in stone, but after
realizing that I can move the *instantiation* of the generic to its own
package, I'm perfectly OK with the following solution
---%<---
with CALLBACK;
generic
package USE_CALLBACK is
procedure HANDLER;
private
CALLBACK_ACCESS : constant CALLBACK.CALLBACK_T := HANDLER'Access;
end USE_CALLBACK;
--->%---
suggested by Georg.
Regards,
Markus
prev parent reply other threads:[~2012-08-29 11:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-28 9:46 Access to procedure and generics Markus Schöpflin
2012-08-28 10:20 ` Egil Høvik
2012-08-28 10:22 ` Egil Høvik
2012-08-28 10:32 ` Markus Schöpflin
2012-08-31 14:14 ` Robert A Duff
2012-08-28 10:41 ` Georg Bauhaus
2012-08-28 10:47 ` Markus Schöpflin
2012-08-28 15:57 ` Adam Beneschan
2012-08-28 16:01 ` Adam Beneschan
2012-08-29 3:52 ` Brad Moore
2012-08-29 11:25 ` Markus Schöpflin [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox