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-13 14:51:30 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: Access type conversions, how? Date: Tue, 13 Apr 2004 23:51:50 +0100 Message-ID: References: <107mgcjspsour11@corp.supernews.com> <407c0f2c.0@entanet> NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1081893087 18116 62.49.62.197 (13 Apr 2004 21:51:27 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 13 Apr 2004 21:51:27 +0000 (UTC) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: archiver1.google.com comp.lang.ada:7060 Date: 2004-04-13T23:51:50+01:00 List-Id: Well, in answer to my question: with Unchecked_Conversion; ... type FloatPtr is access all Float; function Float_To_GLfloat is new Unchecked_Conversion(Source => FloatPtr, Target => GL.GLfloatPtr); ... GL.glMultMatrixf(Float_To_GLfloat(M(M'First)'Unchecked_Access)); And all is well. Luke.