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,c1efbfe18e91d24 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-04 12:27:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Size of a pointer to a tagged record Date: 04 Dec 2002 20:27:02 +0000 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1039033634 7486 62.49.19.209 (4 Dec 2002 20:27:14 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 4 Dec 2002 20:27:14 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:31447 Date: 2002-12-04T20:27:02+00:00 List-Id: Robert A Duff writes: > One thing you might think about is taking 'Size on the Ada side, > converting that to bytes (using System.Storage_Unit), and passing > that to the C code at some point. The C code might be able to > use that size, or else assert that it is correct. Would 'Max_Size_In_Storage_Elements be relevant here?