From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Need help mapping a C struct to Ada
Date: 22 Mar 2001 00:12:28 +0100
Date: 2001-03-22T00:12:28+01:00 [thread overview]
Message-ID: <87ofuubtsz.fsf@deneb.enyo.de> (raw)
In-Reply-To: 3AB9295B.DAE4F638@boeing.com
Jeffrey Carter <jeffrey.carter@boeing.com> writes:
> My C isn't very good, but isn't this the same as
>
> element* the_elements;
>
> since you have to "manually allocate the memory"?
No, the memory is allocated "inline", directly following after the
num_elements component. No indirection.
next prev parent reply other threads:[~2001-03-21 23:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-21 19:56 Need help mapping a C struct to Ada (null)
2001-03-21 21:25 ` tmoran
2001-03-22 20:53 ` tmoran
2001-03-21 22:21 ` Jeffrey Carter
2001-03-21 23:12 ` Florian Weimer [this message]
2001-03-30 5:59 ` David Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox