aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-wchstw.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-wchstw.ads')
-rw-r--r--gcc/ada/s-wchstw.ads16
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ada/s-wchstw.ads b/gcc/ada/s-wchstw.ads
index c58066c..c1d33eb 100644
--- a/gcc/ada/s-wchstw.ads
+++ b/gcc/ada/s-wchstw.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -31,8 +31,8 @@
-- --
------------------------------------------------------------------------------
--- This package contains the routine used to convert strings to wide
--- strings for use by wide character attributes (value, image etc.)
+-- This package contains the routine used to convert strings to wide (wide)
+-- strings for use by wide (wide) character attributes (value, image etc.)
with System.WCh_Con;
@@ -40,9 +40,8 @@ package System.WCh_StW is
pragma Pure (WCh_StW);
function String_To_Wide_String
- (S : String;
- EM : System.WCh_Con.WC_Encoding_Method)
- return Wide_String;
+ (S : String;
+ EM : System.WCh_Con.WC_Encoding_Method) return Wide_String;
-- This routine simply takes its argument and converts it to wide string
-- format. In the context of the Wide_Image attribute, the argument is
-- the corresponding 'Image attribute. Any wide character escape sequences
@@ -57,4 +56,9 @@ pragma Pure (WCh_StW);
-- Note: in the WCEM_Brackets case, the brackets escape sequence is used
-- only for codes greater than 16#FF#.
+ function String_To_Wide_Wide_String
+ (S : String;
+ EM : System.WCh_Con.WC_Encoding_Method) return Wide_Wide_String;
+ -- Same function with Wide_Wide_String output
+
end System.WCh_StW;