1
-------------------------------------------------------------------------------
3
-- <STRONG>Copyright (c) 2001, 2002 by Thomas Wolf.</STRONG>
5
-- This piece of software is free software; you can redistribute it and/or
6
-- modify it under the terms of the GNU General Public License as published
7
-- by the Free Software Foundation; either version 2, or (at your option)
8
-- any later version. This unit is distributed in the hope that it will be
9
-- useful, but <EM>without any warranty</EM>; without even the implied
10
-- warranty of <EM>merchantability or fitness for a particular purpose.</EM>
11
-- See the GNU General Public License for more details. You should have
12
-- received a copy of the GNU General Public License with this distribution,
13
-- see file "<A HREF="GPL.txt">GPL.txt</A>". If not, write to the Free
14
-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
18
-- As a special exception from the GPL, if other files instantiate generics
19
-- from this unit, or you link this unit with other files to produce an
20
-- executable, this unit does not by itself cause the resulting executable
21
-- to be covered by the GPL. This exception does not however invalidate any
22
-- other reasons why the executable file might be covered by the GPL.
26
-- Author:</STRONG><DD>
28
-- <ADDRESS><A HREF="mailto:twolf@acm.org">twolf@acm.org</A></ADDRESS></DL>
31
-- Purpose:</STRONG><DD>
32
-- Signature package for simplifying using pools together with
38
-- 27-NOV-2001 TW Initial version.
39
-- 28-APR-2003 TW Changed from a pure signature package to a package that
40
-- actually declares an object to work around a visibility
43
-------------------------------------------------------------------------------
45
pragma License (Modified_GPL);
47
with System.Storage_Pools;
50
new System.Storage_Pools.Root_Storage_Pool with private;
51
-- Pool : in out Manager;
52
package GAL.Storage.Memory is
53
-- This once was a pure signature package (it had only generic formals),
54
-- but due to a visibility bug in GNAT 3.16a, I changed it to only take
55
-- the pool type as a parameter and then declare an object of this type.
57
Pool : aliased Manager;
59
end GAL.Storage.Memory;