From: jsa@alexandria (Jon S Anthony)
Subject: Re: Access to primitive operations of tagged types
Date: 1997/03/18
Date: 1997-03-18T00:00:00+00:00 [thread overview]
Message-ID: <JSA.97Mar18183425@alexandria> (raw)
In-Reply-To: hkbmg5.2h2.ln@localhost
In article <hkbmg5.2h2.ln@localhost> njt@sv1pc161.cs.york.ac.uk (Nigel J. Tracey) writes:
> My problem is however that I cannot pass an access to the callback
> functions when installing the callback routine in X. The Ada RM
> states that a dereference of an access-to-subprogram value is never
> a dispatching call.
Make the "access" registered functions non dispatching, make them
private (or better yet in a body), and have them _call_ their
appropriate dispatchable operation.
/Jon
--
Jon Anthony
Organon Motives, Inc.
Belmont, MA 02178
617.484.3383
jsa@organon.com
next prev parent reply other threads:[~1997-03-18 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-18 0:00 Access to primitive operations of tagged types Nigel J. Tracey
1997-03-18 0:00 ` Jon S Anthony [this message]
1997-03-31 0:00 ` Norman H. Cohen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox