From: Brian May <bam@snoopy.apana.org.au>
Subject: Re: Thick Ada bindings to C Win32
Date: Fri, 12 Nov 2004 12:51:29 +1100
Date: 2004-11-12T12:51:29+11:00 [thread overview]
Message-ID: <sa4y8h7dece.fsf@snoopy.apana.org.au> (raw)
In-Reply-To: I0ukd.23092$KJ6.4643@newsread1.news.pas.earthlink.net
>>>>> "Jeffrey" == Jeffrey Carter <spam@spam.com> writes:
Jeffrey> Brian May wrote:
>> nNumberOfBytesToWrite => Win32.Dword(Item'Length), -- Win32.Dword => 1 bytes
Jeffrey> This conversion is unnecessary. 'Length is universal
Jeffrey> integer, and so may be used with any integer type.
Hmmm... I was thinking that when I copied it here.
I suspect the original author who created this package wasn't exactly
sure of what he was doing.
I think I have fixed all the bugs though (e.g. previously the get
procedure was a function that returned the byte read; this was fine
except for when no byte is read, due to timeout, in which case the
return value was undefined).
--
Brian May <bam@snoopy.apana.org.au>
next prev parent reply other threads:[~2004-11-12 1:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-10 2:41 Thick Ada bindings to C Win32 Brian May
2004-11-10 4:36 ` tmoran
2004-11-10 19:31 ` Jeffrey Carter
2004-11-12 1:51 ` Brian May [this message]
2004-11-12 12:09 ` Nick Roberts
2004-11-12 17:57 ` tmoran
2004-11-12 18:50 ` Martin Krischik
2004-11-12 23:29 ` Brian May
2004-11-13 0:51 ` Jeffrey Carter
2004-11-25 23:19 ` Brian May
2004-11-26 9:50 ` Martin Krischik
2004-11-26 12:23 ` Frank J. Lhota
2004-11-26 19:19 ` Jeffrey Carter
2004-11-27 23:56 ` Brian May
2004-11-28 18:57 ` Jeffrey Carter
2004-11-28 23:45 ` Brian May
2004-11-29 7:50 ` Message-ID: <sa4vfbpzgfu.fsf@snoo tmoran
2004-11-29 14:34 ` Thick Ada bindings to C Win32 Frank J. Lhota
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox