]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/a-wtinau.ads
Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
[thirdparty/gcc.git] / gcc / ada / a-wtinau.ads
CommitLineData
d23b8f57
RK
1------------------------------------------------------------------------------
2-- --
3-- GNAT RUN-TIME COMPONENTS --
4-- --
5-- A D A . W I D E _ T E X T _ I O . I N T E G E R _ A U X --
6-- --
7-- S p e c --
8-- --
748086b7 9-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
d23b8f57
RK
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- --
d23b8f57
RK
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/>. --
d23b8f57
RK
26-- --
27-- GNAT was originally developed by the GNAT team at New York University. --
71ff80dc 28-- Extensive contributions were provided by Ada Core Technologies Inc. --
d23b8f57
RK
29-- --
30------------------------------------------------------------------------------
31
32-- This package contains the routines for Ada.Wide_Text_IO.Integer_IO that
33-- are shared among separate instantiations of this package. The routines
34-- in this package are identical semantically to those in Integer_IO itself,
35-- except that the generic parameter Num has been replaced by Integer or
36-- Long_Long_Integer, and the default parameters have been removed because
37-- they are supplied explicitly by the calls from within the generic template.
38
39private package Ada.Wide_Text_IO.Integer_Aux is
40
41 procedure Get_Int
0ae9f22f 42 (File : File_Type;
d23b8f57 43 Item : out Integer;
0ae9f22f 44 Width : Field);
d23b8f57
RK
45
46 procedure Get_LLI
0ae9f22f 47 (File : File_Type;
d23b8f57 48 Item : out Long_Long_Integer;
0ae9f22f 49 Width : Field);
d23b8f57
RK
50
51 procedure Gets_Int
0ae9f22f 52 (From : String;
d23b8f57
RK
53 Item : out Integer;
54 Last : out Positive);
55
56 procedure Gets_LLI
0ae9f22f 57 (From : String;
d23b8f57
RK
58 Item : out Long_Long_Integer;
59 Last : out Positive);
60
61 procedure Put_Int
0ae9f22f
RD
62 (File : File_Type;
63 Item : Integer;
64 Width : Field;
65 Base : Number_Base);
d23b8f57
RK
66
67 procedure Put_LLI
0ae9f22f
RD
68 (File : File_Type;
69 Item : Long_Long_Integer;
70 Width : Field;
71 Base : Number_Base);
d23b8f57
RK
72
73 procedure Puts_Int
74 (To : out String;
0ae9f22f
RD
75 Item : Integer;
76 Base : Number_Base);
d23b8f57
RK
77
78 procedure Puts_LLI
79 (To : out String;
0ae9f22f
RD
80 Item : Long_Long_Integer;
81 Base : Number_Base);
d23b8f57
RK
82
83end Ada.Wide_Text_IO.Integer_Aux;