comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Need help mapping a C struct to Ada
Date: Thu, 22 Mar 2001 20:53:21 GMT
Date: 2001-03-22T20:53:21+00:00	[thread overview]
Message-ID: <5Dtu6.1652$w46.190887@news1.frmt1.sfba.home.com> (raw)
In-Reply-To: o%8u6.56105$zV3.4715130@news1.frmt1.sfba.home.com

Oops, in
   for element_table use record
     count at 0 range 0 .. Interfaces.C.Int'size - 1;
     the_elements at Interfaces.C.Int'size/System.Storage_Unit
       range 0 .. (Max_Possible_Index+1)*Interfaces.C.Int'size - 1;
   end record;
the range of the_elements should of course be
       range 0 .. (Max_Possible_Index+1)*element'size - 1;



  reply	other threads:[~2001-03-22 20:53 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 [this message]
2001-03-21 22:21 ` Jeffrey Carter
2001-03-21 23:12   ` Florian Weimer
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