comp.lang.ada
 help / color / mirror / Atom feed
From: guerby@gnat.com (Laurent Guerby)
Subject: Re: [Q]: arrays into mmap'ed memory
Date: 1996/08/31
Date: 1996-08-31T00:00:00+00:00	[thread overview]
Message-ID: <ws968606kxa.fsf@schonberg.cs.nyu.edu> (raw)
In-Reply-To: 32249A94.4A0A@joy.ericsson.se


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 <guerby@gnat.com>, Team Ada.
   "Use the Source, Luke. The Source will be with you, always (GPL)."




  parent reply	other threads:[~1996-08-31  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-28  0:00 [Q]: arrays into mmap'ed memory Jonas Nygren
1996-08-28  0:00 ` David C. Hoos, Sr.
1996-08-29  0:00 ` [Q]: " Jon S Anthony
1996-08-30  0:00 ` Norman H. Cohen
1996-08-31  0:00   ` Geert Bosch
1996-08-31  0:00 ` Laurent Guerby [this message]
1996-09-06  0:00   ` Norman H. Cohen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox