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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bbbeae4ed07e9626,start X-Google-Attributes: gid103376,public From: michael@ifr16.luftfahrt.uni-stuttgart.de (Michael Paus) Subject: Address to function pointer conversion Date: 1997/06/13 Message-ID: <5nrq5h$13cm@info4.rus.uni-stuttgart.de>#1/1 X-Deja-AN: 248151153 Organization: Comp.Center (RUS), U of Stuttgart, FRG Newsgroups: comp.lang.ada Date: 1997-06-13T00:00:00+00:00 List-Id: Hi, I just stumbled over a little problem. I have a system address and I would like to convert it to an access to function type. How can this be done correctly? There is a generic package System.Address_To_Access_Conversions which takes an object type and then provides an access to object type and the appropriate conversion routines from address to access type and vice versa. But, what is the object of an access to function type here which I need to instantiate this package? Any suggestions are welcome. Michael PS: I currently just use an unchecked conversion which just works fine, but that's not the answer I am looking for.