~ubuntu-branches/debian/sid/adabrowse/sid

« back to all changes in this revision

Viewing changes to gal-storage-memory.ads

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Brenta
  • Date: 2004-02-14 13:22:40 UTC
  • Revision ID: james.westby@ubuntu.com-20040214132240-cqumhiq1677pkvzo
Tags: upstream-4.0.2
ImportĀ upstreamĀ versionĀ 4.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-------------------------------------------------------------------------------
 
2
--
 
3
-- <STRONG>Copyright (c) 2001, 2002 by Thomas Wolf.</STRONG>
 
4
-- <BLOCKQUOTE>
 
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,
 
15
--    USA.
 
16
-- </BLOCKQUOTE>
 
17
-- <BLOCKQUOTE>
 
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.
 
23
-- </BLOCKQUOTE>
 
24
--
 
25
-- <DL><DT><STRONG>
 
26
-- Author:</STRONG><DD>
 
27
--   Thomas Wolf  (TW)
 
28
--   <ADDRESS><A HREF="mailto:twolf@acm.org">twolf@acm.org</A></ADDRESS></DL>
 
29
--
 
30
-- <DL><DT><STRONG>
 
31
-- Purpose:</STRONG><DD>
 
32
--   Signature package for simplifying using pools together with
 
33
--   containers.</DL>
 
34
--
 
35
-- <!--
 
36
-- Revision History
 
37
--
 
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
 
41
--                     bug in GNAT 3.16a.
 
42
-- -->
 
43
-------------------------------------------------------------------------------
 
44
 
 
45
pragma License (Modified_GPL);
 
46
 
 
47
with System.Storage_Pools;
 
48
generic
 
49
   type Manager is
 
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.
 
56
 
 
57
   Pool : aliased Manager;
 
58
 
 
59
end GAL.Storage.Memory;
 
60
 
 
61