Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / ada / a-wtinio.ads
blob0c9c0642121c78198400f8fb7f5f0e82974379b6
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 _ I O --
6 -- --
7 -- S p e c --
8 -- --
9 -- This specification is adapted from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
13 -- --
14 ------------------------------------------------------------------------------
16 -- In Ada 95, the package Ada.Wide_Text_IO.Integer_IO is a subpackage
17 -- of Wide_Text_IO. In GNAT we make it a child package to avoid loading
18 -- the necessary code if Integer_IO is not instantiated. See the routine
19 -- Rtsfind.Text_IO_Kludge for a description of how we patch up the
20 -- difference in semantics so that it is invisible to the Ada programmer.
22 private generic
23 type Num is range <>;
25 package Ada.Wide_Text_IO.Integer_IO is
27 Default_Width : Field := Num'Width;
28 Default_Base : Number_Base := 10;
30 procedure Get
31 (File : in File_Type;
32 Item : out Num;
33 Width : in Field := 0);
35 procedure Get
36 (Item : out Num;
37 Width : in Field := 0);
39 procedure Put
40 (File : in File_Type;
41 Item : in Num;
42 Width : in Field := Default_Width;
43 Base : in Number_Base := Default_Base);
45 procedure Put
46 (Item : in Num;
47 Width : in Field := Default_Width;
48 Base : in Number_Base := Default_Base);
50 procedure Get
51 (From : in Wide_String;
52 Item : out Num;
53 Last : out Positive);
55 procedure Put
56 (To : out Wide_String;
57 Item : in Num;
58 Base : in Number_Base := Default_Base);
60 end Ada.Wide_Text_IO.Integer_IO;