From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,35ae3d13e899b684 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-21 15:04:04 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.easynews.net!newsfeed2.easynews.net!easynews.net!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Need help mapping a C struct to Ada Date: 22 Mar 2001 00:12:28 +0100 Organization: Enyo's not your organization Message-ID: <87ofuubtsz.fsf@deneb.enyo.de> References: <3AB9295B.DAE4F638@boeing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: supernews.google.com comp.lang.ada:5983 Date: 2001-03-22T00:12:28+01:00 List-Id: Jeffrey Carter 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.