File : rident.ads


   1 ------------------------------------------------------------------------------
   2 --                                                                          --
   3 --                         GNAT COMPILER COMPONENTS                         --
   4 --                                                                          --
   5 --                               R I D E N T                                --
   6 --                                                                          --
   7 --                                 S p e c                                  --
   8 --                                                                          --
   9 --          Copyright (C) 1992-2015, Free Software Foundation, Inc.         --
  10 --                                                                          --
  11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
  12 -- terms of the  GNU General Public License as published  by the Free Soft- --
  13 -- ware  Foundation;  either version 3,  or (at your option) any later ver- --
  14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
  15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
  16 -- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
  17 --                                                                          --
  18 --                                                                          --
  19 --                                                                          --
  20 --                                                                          --
  21 --                                                                          --
  22 -- You should have received a copy of the GNU General Public License and    --
  23 -- a copy of the GCC Runtime Library Exception along with this program;     --
  24 -- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
  25 -- <http://www.gnu.org/licenses/>.                                          --
  26 --                                                                          --
  27 -- GNAT was originally developed  by the GNAT team at  New York University. --
  28 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
  29 --                                                                          --
  30 ------------------------------------------------------------------------------
  31 
  32 --  This package defines the set of restriction identifiers for use by the
  33 --  compiler and binder. It is in a separate package from Restrict so that
  34 --  it can be used by the binder without dragging in unneeded compiler
  35 --  packages.
  36 
  37 --  Note: the actual definitions of the types are in package System.Rident,
  38 --  and this package is merely an instantiation of that package. The point
  39 --  of this level of generic indirection is to allow the compile time use
  40 --  to have the image tables available (this package is not compiled with
  41 --  Discard_Names), while at run-time we do not want those image tables.
  42 
  43 --  Rather than have clients instantiate System.Rident directly, we have the
  44 --  single instantiation here at the library level, which means that we only
  45 --  have one copy of the image tables.
  46 
  47 with System.Rident;
  48 
  49 package Rident is new System.Rident;