From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Interfacing with C: access/out parameters
Date: Wed, 01 Sep 2004 11:46:54 +0200
Date: 2004-09-01T11:46:54+02:00 [thread overview]
Message-ID: <2plk1vFle4guU1@uni-berlin.de> (raw)
In-Reply-To: <tp3Zc.3869$8d1.573@newsread2.news.pas.earthlink.net>
Jeffrey Carter wrote:
> I would not advise using an overlay if you want to insure portability.
> For a convention C function, Ada automatically converts parameters of
> composite types to pointers (see Annex B), so you can "cheat" and use
> this fact to pass a pointer to your record. I've done a similar thing in
> a binding to fgets:
I see. I was reticent to use this trick but if it is more portable I'll
consider it again.
Thanks!
next prev parent reply other threads:[~2004-09-01 9:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 17:30 Interfacing with C: access/out parameters Jano
2004-08-30 19:06 ` Jeffrey Carter
2004-08-31 9:41 ` Alex R. Mosteo
2004-08-31 9:48 ` Alex R. Mosteo
2004-08-31 18:26 ` Jeffrey Carter
2004-09-01 9:46 ` Alex R. Mosteo [this message]
2004-08-31 7:54 ` Egil H. H�vik
2004-08-31 9:11 ` Egil H. H�vik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox