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,32d4b7099c3e0137 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-21 11:33:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3E2DA06F.5070500@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: C code to Ada References: <3E2CAFED.4080705@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 21 Jan 2003 19:33:14 GMT NNTP-Posting-Host: 63.184.9.37 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1043177594 63.184.9.37 (Tue, 21 Jan 2003 11:33:14 PST) NNTP-Posting-Date: Tue, 21 Jan 2003 11:33:14 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:33314 Date: 2003-01-21T19:33:14+00:00 List-Id: sk wrote: > It looks like messages are arriving in unexpected sequences. > > Hopefully the full example I posted gets to you and it atones > for the terrible mistakes I made. "You" refers to me here. I was aware of your later messages correcting some of your errors, but I hope I also contributed some additional assistance on parameter types and modes. > jrcarter@acm.org > > type Handle is private; > > private > > type Handle is access all Integer; > > pragma Convention (C, Handle); > > > > and use Handle for void*. > > This tip is definitely going into my personal collection of > notes in the "Binding for Dummies" section :-) Personally I think "dummies" should be doing bindings :) I'm glad you find this useful. -- Jeff Carter "That was the most fun I've ever had without laughing." Annie Hall