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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8f62275ace1d51c1 X-Google-Attributes: gid103376,public From: guerby@gnat.com (Laurent Guerby) Subject: Re: [Q]: arrays into mmap'ed memory Date: 1996/08/31 Message-ID: #1/1 X-Deja-AN: 177610073 sender: guerby@schonberg.cs.nyu.edu references: <32249A94.4A0A@joy.ericsson.se> organization: New York University reply-to: guerby@gnat.com newsgroups: comp.lang.ada Date: 1996-08-31T00:00:00+00:00 List-Id: Norman> [...] In Ada 95, another approach is to declare a constrained array Norman> type, declare an access type pointing to values of that array Norman> type, and use an instance of Norman> System.Address_To_Access_Conversions to convert the address to Norman> an access value A. [...] Putting it all together with your comment on access to constrained array, you can simply import mmap directly as returning the Ada access type (using one mmap per acces type) and skip the System.Address stage. -- Laurent Guerby , Team Ada. "Use the Source, Luke. The Source will be with you, always (GPL)."