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,5114c1c6ad71f555 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-04 19:21:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!luth.se!news-stob.telia.net!telia.net!194.22.194.4.MISMATCH!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: David Holm Subject: Re: New Ada binding to OpenGL Newsgroups: comp.lang.ada References: <67HR9.4217$gv.98715@newsfep1-gui.server.ntli.net> User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: Date: Sun, 05 Jan 2003 03:21:12 GMT NNTP-Posting-Host: 217.208.105.23 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1041736872 217.208.105.23 (Sun, 05 Jan 2003 04:21:12 CET) NNTP-Posting-Date: Sun, 05 Jan 2003 04:21:12 CET Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:32557 Date: 2003-01-05T03:21:12+00:00 List-Id: chris.danx wrote: > > I've passed a C-null value to a c funtion from Ada using GNAT before, > just wish I could remember how. Surely someone else has done it too? > Did you try just "null", the ada word? > > There's also something about a C Null_Pointer in the Ref. Manual, > section B.3.1, which might be what your looking for, though I've not > used it and am not sure if that's its purpose. > It is working now. It turned out it wasn't the null at all but the function call above it that failed and returned a null, which I never detected. //David Holm