From: tmoran@acm.org
Subject: Re: Passing float values to C
Date: Sat, 12 Feb 2005 15:36:06 -0600
Date: 2005-02-12T15:36:06-06:00 [thread overview]
Message-ID: <vb2dnb92ErBb65PfRVn-2Q@comcast.com> (raw)
In-Reply-To: 1603285.ASpjRijX0L@linux1.krischik.com
>> 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.
next prev parent reply other threads:[~2005-02-12 21:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-12 16:58 Passing float values to C Garry
2005-02-12 18:05 ` tmoran
2005-02-12 18:08 ` Pascal Obry
2005-02-12 19:59 ` Martin Krischik
2005-02-12 21:36 ` tmoran [this message]
2005-02-13 0:38 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox