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-Thread: 103376,ac6f6c30c45f808a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Ada equivalent for C-pointer? References: <41E7F653.2F899F47@alfred-hilscher.de> From: Keith Thompson Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Lc2ipW3y+8BK3Lt4vMoRGNvZapY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 14 Jan 2005 22:33:13 GMT NNTP-Posting-Host: 66.91.240.168 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1105741993 66.91.240.168 (Fri, 14 Jan 2005 14:33:13 PST) NNTP-Posting-Date: Fri, 14 Jan 2005 14:33:13 PST Organization: RoadRunner - West Xref: g2news1.google.com comp.lang.ada:7782 Date: 2005-01-14T22:33:13+00:00 List-Id: Alfred Hilscher writes: > I want to interface to a C-function expecting a "far *", what have I to > pass: an "access all ..." or "System.Address"? Are there differences > between access and address, or are their internal representations equal? > I use GNAT 3.15p. "far" pointers are an old Microsoft kludge. The C standard doesn't define "far" pointers, and an Ada compiler's interface to C likely doesn't either. -- Keith Thompson (The_Other_Keith) kst-u@mib.org San Diego Supercomputer Center <*> We must do something. This is something. Therefore, we must do this.