]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/libgnat/a-ztmoau.ads
[Ada] Bump copyright year
[thirdparty/gcc.git] / gcc / ada / libgnat / a-ztmoau.ads
CommitLineData
4c2d6a70
AC
1------------------------------------------------------------------------------
2-- --
3-- GNAT RUN-TIME COMPONENTS --
4-- --
5-- A D A . W I D E _ W I D E _ T E X T _ I O . M O D U L A R _ A U X --
6-- --
7-- S p e c --
8-- --
4b490c1e 9-- Copyright (C) 1992-2020, Free Software Foundation, Inc. --
4c2d6a70
AC
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- --
748086b7 13-- ware Foundation; either version 3, or (at your option) any later ver- --
4c2d6a70
AC
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 --
748086b7
JJ
16-- or FITNESS FOR A PARTICULAR PURPOSE. --
17-- --
18-- As a special exception under Section 7 of GPL version 3, you are granted --
19-- additional permissions described in the GCC Runtime Library Exception, --
20-- version 3.1, as published by the Free Software Foundation. --
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/>. --
4c2d6a70
AC
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 contains the routines for Ada.Wide_Wide_Text_IO.Modular_IO
33-- that are shared among separate instantiations of this package. The
34-- routines in this package are identical semantically to those in Modular_IO
35-- itself, except that the generic parameter Num has been replaced by
36-- Unsigned or Long_Long_Unsigned, and the default parameters have been
37-- removed because they are supplied explicitly by the calls from within the
38-- generic template.
39
40with System.Unsigned_Types;
41
42private package Ada.Wide_Wide_Text_IO.Modular_Aux is
43
44 package U renames System.Unsigned_Types;
45
46 procedure Get_Uns
47 (File : File_Type;
48 Item : out U.Unsigned;
49 Width : Field);
50
51 procedure Get_LLU
52 (File : File_Type;
53 Item : out U.Long_Long_Unsigned;
54 Width : Field);
55
56 procedure Gets_Uns
57 (From : String;
58 Item : out U.Unsigned;
59 Last : out Positive);
60
61 procedure Gets_LLU
62 (From : String;
63 Item : out U.Long_Long_Unsigned;
64 Last : out Positive);
65
66 procedure Put_Uns
67 (File : File_Type;
68 Item : U.Unsigned;
69 Width : Field;
70 Base : Number_Base);
71
72 procedure Put_LLU
73 (File : File_Type;
74 Item : U.Long_Long_Unsigned;
75 Width : Field;
76 Base : Number_Base);
77
78 procedure Puts_Uns
79 (To : out String;
80 Item : U.Unsigned;
81 Base : Number_Base);
82
83 procedure Puts_LLU
84 (To : out String;
85 Item : U.Long_Long_Unsigned;
86 Base : Number_Base);
87
88end Ada.Wide_Wide_Text_IO.Modular_Aux;