1 ------------------------------------------------------------------------------
3 -- GNAT RUNTIME COMPONENTS --
5 -- A D A . W I D E _ T E X T _ I O . W I D E _ U N B O U N D E D _ I O --
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. --
14 ------------------------------------------------------------------------------
16 -- Note: historically GNAT provided these subprograms as a child of the
17 -- package Ada.Strings.Wide_Unbounded. So we implement this new Ada 2005
18 -- package by renaming the subprograms in that child. This is a more
19 -- straightforward implementation anyway, since we need access to the
20 -- internal representation of Unbounded_Wide_String.
23 with Ada
.Strings
.Wide_Unbounded
;
24 with Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
;
26 package Ada
.Wide_Text_IO
.Wide_Unbounded_IO
is
30 Item
: Strings
.Wide_Unbounded
.Unbounded_Wide_String
)
31 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Put
;
34 (Item
: Strings
.Wide_Unbounded
.Unbounded_Wide_String
)
35 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Put
;
38 (File
: Wide_Text_IO
.File_Type
;
39 Item
: Strings
.Wide_Unbounded
.Unbounded_Wide_String
)
40 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Put_Line
;
43 (Item
: Strings
.Wide_Unbounded
.Unbounded_Wide_String
)
44 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Put_Line
;
47 (File
: File_Type
) return Strings
.Wide_Unbounded
.Unbounded_Wide_String
48 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Get_Line
;
50 function Get_Line
return Strings
.Wide_Unbounded
.Unbounded_Wide_String
51 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Get_Line
;
55 Item
: out Strings
.Wide_Unbounded
.Unbounded_Wide_String
)
56 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Get_Line
;
59 (Item
: out Strings
.Wide_Unbounded
.Unbounded_Wide_String
)
60 renames Ada
.Strings
.Wide_Unbounded
.Wide_Text_IO
.Get_Line
;
62 end Ada
.Wide_Text_IO
.Wide_Unbounded_IO
;