1263970Sdes------------------------------------------------------------------------------
257429Smarkm--                                                                          --
357429Smarkm--                         GNAT RUN-TIME COMPONENTS                         --
457429Smarkm--                                                                          --
557429Smarkm--                     S Y S T E M . W I D _ W C H A R                      --
657429Smarkm--                                                                          --
757429Smarkm--                                 S p e c                                  --
876259Sgreen--                                                                          --
965668Skris--          Copyright (C) 1992-2009, Free Software Foundation, Inc.         --
1065668Skris--                                                                          --
1165668Skris-- GNAT is free software;  you can  redistribute it  and/or modify it under --
1265668Skris-- terms of the  GNU General Public License as published  by the Free Soft- --
1365668Skris-- ware  Foundation;  either version 3,  or (at your option) any later ver- --
1457429Smarkm-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
1557429Smarkm-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
1657429Smarkm-- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
1757429Smarkm--                                                                          --
18162852Sdes-- As a special exception under Section 7 of GPL version 3, you are granted --
19162852Sdes-- additional permissions described in the GCC Runtime Library Exception,   --
20162852Sdes-- version 3.1, as published by the Free Software Foundation.               --
21162852Sdes--                                                                          --
22162852Sdes-- You should have received a copy of the GNU General Public License and    --
23162852Sdes-- a copy of the GCC Runtime Library Exception along with this program;     --
2476259Sgreen-- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
2576259Sgreen-- <http://www.gnu.org/licenses/>.                                          --
2657429Smarkm--                                                                          --
2757429Smarkm-- GNAT was originally developed  by the GNAT team at  New York University. --
2857429Smarkm-- Extensive contributions were provided by Ada Core Technologies Inc.      --
2957429Smarkm--                                                                          --
3076259Sgreen------------------------------------------------------------------------------
3176259Sgreen
3276259Sgreen--  This package contains the routines used for Wide_[Wide_]Character'Width
3376259Sgreen
3476259Sgreenpackage System.Wid_WChar is
3557429Smarkm   pragma Pure;
36263970Sdes
3757429Smarkm   function Width_Wide_Character
3857429Smarkm     (Lo, Hi : Wide_Character) return Natural;
3957429Smarkm   --  Compute Width attribute for non-static type derived from Wide_Character.
4057429Smarkm   --  The arguments are the low and high bounds for the type.
41162852Sdes
4257429Smarkm   function Width_Wide_Wide_Character
43162852Sdes     (Lo, Hi : Wide_Wide_Character) return Natural;
44162852Sdes   --  Same function for type derived from Wide_Wide_Character
45162852Sdes
46162852Sdesend System.Wid_WChar;
47162852Sdes