diff options
Diffstat (limited to 'gcc/ada/s-valwch.ads')
-rw-r--r-- | gcc/ada/s-valwch.ads | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ada/s-valwch.ads b/gcc/ada/s-valwch.ads index d8d0a82e83e..5075f756c2e 100644 --- a/gcc/ada/s-valwch.ads +++ b/gcc/ada/s-valwch.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2000 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,15 +31,21 @@ -- -- ------------------------------------------------------------------------------ +-- Processing for Wide_[Wide_]Value attribute + with System.WCh_Con; package System.Val_WChar is pragma Pure (Val_WChar); function Value_Wide_Character - (Str : String; - EM : System.WCh_Con.WC_Encoding_Method) - return Wide_Character; + (Str : String; + EM : System.WCh_Con.WC_Encoding_Method) return Wide_Character; + -- Computes Wide_Character'Value (Str). + + function Value_Wide_Wide_Character + (Str : String; + EM : System.WCh_Con.WC_Encoding_Method) return Wide_Wide_Character; -- Computes Wide_Character'Value (Str). end System.Val_WChar; |