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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news4.google.com!news.glorb.com!news.cs.univ-paris8.fr!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Ada equivalent for C-pointer? Date: Sat, 15 Jan 2005 10:09:00 +0100 Organization: None Message-ID: <3305849.xdgk9DY2mj@linux1.krischik.com> References: <41E7F653.2F899F47@alfred-hilscher.de> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1105780350 05 17122 t65Xro2vHbrg4ur 050115 09:12:30 X-Complaints-To: usenet-abuse@t-online.de X-ID: b0yPHqZGoebIKVc3tF2lawnWcpNWUrHqLSu2YtmPau81IkNP+YJcYQ User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:7797 Date: 2005-01-15T10:09:00+01:00 List-Id: Alfred Hilscher wrote: > > 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. Read for infos about access: http://en.wikibooks.org/wiki/Programming:Ada:Types:access And for C especialy the chaper: http://en.wikibooks.org/wiki/Programming:Ada:Types:access#C_compatible_pointer With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com