comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Stream_Element_Array 2 String
Date: 31 Mar 2004 11:32:59 +0200
Date: 2004-03-31T09:33:05+00:00	[thread overview]
Message-ID: <uekr9pdis.fsf@wanadoo.fr> (raw)
In-Reply-To: mailman.161.1080546657.327.comp.lang.ada@ada-france.org


Duncan Sands <baldrick@free.fr> writes:

> > There is a third way, using address overlays, which is possibly rather
> > easier to get wrong .. I always feel uncomfortable with it, but here
> > goes:
> 
> What if a Stream_Element is not the same size as a Character?

You can check that and use the right implementation to convert from/to
Stream_Element_Array. We use this technique in AWS.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



      parent reply	other threads:[~2004-03-31  9:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-26 17:30 Stream_Element_Array 2 String Shaddow
2004-03-26 18:04 ` Marius Amado Alves
2004-03-27  8:24   ` Simon Wright
2004-03-29  7:50     ` Duncan Sands
2004-03-29 19:00       ` Simon Wright
2004-03-31  9:32       ` Pascal Obry [this message]
replies disabled

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