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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5d708145f98f6273 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-14 04:50:03 PST From: "Luke Guest" Newsgroups: comp.lang.ada References: Subject: Re: Access type conversions, how? Date: Wed, 14 Apr 2004 12:49:49 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 195.74.122.227 Message-ID: <407d25a1.0@entanet> X-Trace: 14 Apr 2004 12:50:57 -0100, 195.74.122.227 Path: archiver1.google.com!news1.google.com!news.glorb.com!news.cs.univ-paris8.fr!newsfeed.vmunix.org!feed.news.tiscali.de!newsfeed.tiscali.ch!stargate.gts.cz!news.freedom2surf.net!entanet!195.74.122.227 Xref: archiver1.google.com comp.lang.ada:7084 Date: 2004-04-14T12:49:49+01:00 List-Id: > > type Object_Ptr is access all Object; > > function Access2address(An_Object_Ptr:Object_Ptr) return GLFloat_Ptr > ^^^^^^^^^^^^^^ > To get the real benefits, this subprogram needs to be 'inlined'. > > I'm totally paranoid, so I'd be adding some 'C_Float is the same as > Float' assertions! How would you do this? Thanks, Luke.