diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-05-03 03:31:49 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-05-03 03:31:49 (GMT) |
commit | 7b688527d719054d95ce6e5313830d6dd9d50a25 (patch) | |
tree | b4a8782c203ed60e376b9d3f10563a174dc3ed50 /generic/tclIO.h | |
parent | 2dccd2a5670532686cbe9da74ccf8e2ce591a20b (diff) | |
download | tcl-7b688527d719054d95ce6e5313830d6dd9d50a25.zip tcl-7b688527d719054d95ce6e5313830d6dd9d50a25.tar.gz tcl-7b688527d719054d95ce6e5313830d6dd9d50a25.tar.bz2 |
Changed CHANNEL_PROFILE_* to ENCODING_PROFILE_* and moved out of tclIO.h. See below.
For whatever reason, these macros were renamed and moved to tclIO.h post-660.
This is inappropriate as those macros deal with *encoding* flags, not *channel*
flags and have relevance outside of I/O making their renaming inappropriate. Further
putting them in tclIO.h forces inclusion of that header in modules that do not
otherwise need that header.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h index 399acdb..729db5d 100644 --- a/generic/tclIO.h +++ b/generic/tclIO.h @@ -286,13 +286,6 @@ typedef struct ChannelState { #define CHANNEL_CLOSEDWRITE (1<<21) /* Channel write side has been closed. * No further Tcl-level write IO on * the channel is allowed. */ -#define CHANNEL_PROFILE_MASK 0xFF000000 -#define CHANNEL_PROFILE_GET(flags_) ((flags_) & CHANNEL_PROFILE_MASK) -#define CHANNEL_PROFILE_SET(flags_, profile_) \ - do { \ - (flags_) &= ~CHANNEL_PROFILE_MASK; \ - (flags_) |= profile_; \ - } while (0) /* * The length of time to wait between synthetic timer events. Must be zero or |