From: sk <sk@noname.com>
To: "comp.lang.ada mail to news gateway" <comp.lang.ada@ada.eu.org>
Subject: Re: C code to Ada
Date: Mon, 20 Jan 2003 20:55:55 -0600
Date: 2003-01-20T20:55:55-06:00 [thread overview]
Message-ID: <mailman.7.1043117567.4961.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 3E2CAFED.4080705@acm.org
Hi,
jrcarter@acm.org
> sk wrote:
>> When I was playing with shared-libraries etc (based on the
>
> <snip>
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.
jrcarter@acm.org
> private
>
> type Handle is access all Integer;
> pragma Convention (C, Handle);
and from the previous message
> In C, "pointer" and "address" are used interchangeably, ...
> <snip>
> 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 :-)
--
--
-- Merge vertically for real address
--
------------------------------------
-- s n p @ t . o
-- k i e k c c m
------------------------------------
next prev parent reply other threads:[~2003-01-21 2:55 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-20 18:44 C code to Ada chris.danx
2003-01-20 21:33 ` sk
2003-01-20 21:43 ` chris.danx
2003-01-20 22:56 ` James S. Rogers
2003-01-20 23:05 ` chris.danx
2003-01-21 2:17 ` Jeffrey Carter
2003-01-20 23:32 ` sk
2003-01-21 0:56 ` chris.danx
2003-01-21 1:26 ` sk
2003-01-21 15:49 ` Frank J. Lhota
2003-01-22 1:05 ` chris.danx
2003-01-21 2:27 ` Jeffrey Carter
2003-01-21 2:55 ` sk [this message]
2003-01-21 19:33 ` Jeffrey Carter
2003-01-21 6:18 ` Simon Wright
[not found] ` <3E2C6B2B.5090600@noname.com>
2003-01-20 21:39 ` sk
2003-01-21 1:23 ` sk
2003-01-25 21:28 ` chris.danx
2003-01-26 2:16 ` sk
2003-01-26 3:04 ` sk
[not found] ` <3E33502D.7030503@noname.com>
2003-01-26 5:37 ` sk
2003-01-23 8:00 ` sk
2003-01-24 18:03 ` chris.danx
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox