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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c2f4e8127f6a9fd3 X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: Renaming entries? Date: 1999/02/18 Message-ID: <7ag1dp$lb7$1@plug.news.pipex.net>#1/1 X-Deja-AN: 445565421 References: <7aelgt$2hr$1@nnrp1.dejanews.com> <7afc1p$3mi$3@plug.news.pipex.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom) Newsgroups: comp.lang.ada Date: 1999-02-18T00:00:00+00:00 List-Id: Well, who designed this stupid language anyway? ;-) Just to illustrate what David suggests, although you probably are fully aware, you put procedure Fred; in the package specification, and then procedure Fred is begin Foo.Jim; end; in the package body. This is effectively a kind of 'trampoline' (I think!). Actually, it might be better termed a 'thunk' (I think!!), especially if it involves parameters. David Brown wrote in message ... |"Nick Roberts" writes: | | |> So, the solution to your problem is to use |> |> pragma Convention(Entry,Fred); | |RM95 6.3.1(14): |Of these four conventions, only Ada and Intrinsic are allowed as a |convention_identifier in a pragma Convention, Import, or Export. | |My suggestion would be to wrap it in a procedure and then use a pragma |Inline if you care about the call overhead. You won't be able to use |select with this, however. Embarrassed, Nick Roberts