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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d23826ff0acb491b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!g31g2000yqc.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Gem 39 - compiler specific? Date: Fri, 4 Sep 2009 13:34:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: <557697de-347f-45a6-873c-b940a39b5cfa@g31g2000yqc.googlegroups.com> References: <9e0bbbcd-260f-48ed-8043-d6280c633e85@h3g2000yqa.googlegroups.com> <19268dbw82hf4.aii8as09aapk.dlg@40tude.net> <4bff103b-1797-4e2b-9dcf-7466b667c59b@d9g2000prh.googlegroups.com> <1s8kuin5t96vr$.1taw9mluqlplz$.dlg@40tude.net> <1bf4b63a-1e2d-41f1-97c6-8324d4b829ff@z3g2000prd.googlegroups.com> <6o3frhrv0n0p$.8wj0gszs5h07$.dlg@40tude.net> <1udpwiw4u1cj5$.ff4ssnbb90vn$.dlg@40tude.net> <1pi1b5q7qu0q5.sgsbxppd55q7$.dlg@40tude.net> NNTP-Posting-Host: 83.79.89.111 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1252096478 25212 127.0.0.1 (4 Sep 2009 20:34:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 4 Sep 2009 20:34:38 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g31g2000yqc.googlegroups.com; posting-host=83.79.89.111; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8167 Date: 2009-09-04T13:34:36-07:00 List-Id: On 4 Wrz, 15:06, "Dmitry A. Kazakov" wrote: > > Hint: interfacing with other languages (notably C and C++) with > > libraries that have some callback or object map functionality. > > You mean void *? That is Address (or some access type), not a bit pattern. But as long as the C (or C++) component cannot do anything with it, the fact that it is an address of something that exists outside of that component's domain is irrelevant. It is really just a bunch of opaque bits. > In short, you never needed Unchecked_Conversion that would behave > differently from Address_To_Access_Conversions does. In my case, no - because trivially I never needed U_C at all. (and then I have found gem 39) -- Maciej Sobczak * www.msobczak.com * www.inspirel.com Database Access Library for Ada: www.inspirel.com/soci-ada