aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/i-cstrea.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-07-18 13:00:59 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-18 13:00:59 +0200
commit2941bf7dabfa03f232316f2c29fa7e13328b09ba (patch)
tree97bcadaec217cb1187312be1c2760b3a412b68ac /gcc/ada/i-cstrea.ads
parent676fa39756b56648026fa383dfe89239c72fb7ea (diff)
downloadgcc-2941bf7dabfa03f232316f2c29fa7e13328b09ba.zip
gcc-2941bf7dabfa03f232316f2c29fa7e13328b09ba.tar.gz
gcc-2941bf7dabfa03f232316f2c29fa7e13328b09ba.tar.bz2
[multiple changes]
2014-07-18 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Remove mention of obsolete attributes Max[_Interrupt]_Priority, which have never been implemented (or at the very least were removed long ago if they ever were implemented. Add documentation of Max[_Interrupt]_Priority constants in package System. * ttypes.ads: Document actual handling of package System, rather than a historical fantasy version. Remove mention of non-existent attributes Max[_Interrupt]_Priority. 2014-07-18 Pascal Obry <obry@adacore.com> * a-witeio.adb (Put): No 16-bit character output when text translation is disabled. * i-cstrea.ads: Code clean up. From-SVN: r212813
Diffstat (limited to 'gcc/ada/i-cstrea.ads')
-rw-r--r--gcc/ada/i-cstrea.ads12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ada/i-cstrea.ads b/gcc/ada/i-cstrea.ads
index 674aa02..48fbfc4 100644
--- a/gcc/ada/i-cstrea.ads
+++ b/gcc/ada/i-cstrea.ads
@@ -243,16 +243,18 @@ package Interfaces.C_Streams is
--
-- This encoding is system dependent and only used on Windows systems.
--
- -- Note that modifications to Content_Encoding must be synchronized
- -- with sysdep.c:__gnat_set_mode.
+ -- Note that modifications to Content_Encoding must be synchronized with
+ -- sysdep.c:__gnat_set_mode.
subtype Text_Content_Encoding
is Content_Encoding range Default_Text .. U16text;
+ subtype Non_Default_Text_Content_Encoding
+ is Content_Encoding range Text .. U16text;
+
procedure set_mode (handle : int; Mode : Content_Encoding);
- -- As above but can set the handle to any mode.
- -- On Windows this can be used to have proper 16-bit wide-string output
- -- on the console for example.
+ -- As above but can set the handle to any mode. On Windows this can be used
+ -- to have proper 16-bit wide-string output on the console for example.
----------------------------
-- Full Path Name support --