comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: my instansiation of a generic Remote_Call_Interface need a type declared in a package of wrong categorization
Date: Fri, 26 Jul 2013 22:31:19 -0500
Date: 2013-07-26T22:31:19-05:00	[thread overview]
Message-ID: <ksveu8$gqn$1@loke.gir.dk> (raw)
In-Reply-To: 14e47bb4-a838-47f8-8617-eb404679d3af@googlegroups.com

<dontspam365@gmail.com> wrote in message 
news:14e47bb4-a838-47f8-8617-eb404679d3af@googlegroups.com...
...
> Does it exists some method to "trinkle" Core_Package through to the body 
> of Test_RCI? I have tried quite a few things to solve this, and I have at 
> the moment given up:)

If
-- You're using Ada 2012;
-- Core_Package can be preelaborated; and
-- You can move the instantiation into the private part of the RCI. Note 
that you can export the interesting routines from the instance visibly, 
completing them with appropriate renames, to make the routines visible 
outside of the RCI.

In this case, you can do this. Otherwise, you'll have to follow one of the 
other suggestions (splitting Core_Package is probably the best idea, if 
possible).

                     Randy.




      parent reply	other threads:[~2013-07-27  3:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25 16:26 my instansiation of a generic Remote_Call_Interface need a type declared in a package of wrong categorization dontspam365
2013-07-25 16:51 ` Jeffrey Carter
2013-07-25 17:00 ` Adam Beneschan
2013-07-27  3:31 ` Randy Brukardt [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