summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-05-03 03:31:49 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-05-03 03:31:49 (GMT)
commit7b688527d719054d95ce6e5313830d6dd9d50a25 (patch)
treeb4a8782c203ed60e376b9d3f10563a174dc3ed50 /generic/tclIO.h
parent2dccd2a5670532686cbe9da74ccf8e2ce591a20b (diff)
downloadtcl-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.h7
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