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,ef2e6181b4b6365e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 12 Feb 2005 15:36:06 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Passing float values to C References: <1603285.ASpjRijX0L@linux1.krischik.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Sat, 12 Feb 2005 15:36:06 -0600 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-3J0W3M/NoBbTfu+V50OUE0faekSaJ+CRbBEp0V4gH3fP7sDY1bxhC0TKKFL6rAMZr3hm9LKEuxN5bLv!MWH9ncxLNPQ5Zig1p8TQd4HnTgwcIDTE0kfUSscLWqzGCwRW1DOTKjLZCVWc6w== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.23 Xref: g2news1.google.com comp.lang.ada:8298 Date: 2005-02-12T15:36:06-06:00 List-Id: >> No, Interfaces.C.short is a short *int*. > >Which is OK - the C type was also "short int". Yes, I was sloppy. All of his cprint* functions that take a "val" parameter take it as a pointer, not a value, and all his Ada specs falsely declare it to be a value, not a pointer. I copied the "short" one as an example but talked about the "float" one.