diff options
author | dgp <dgp@users.sourceforge.net> | 2014-08-01 17:16:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-08-01 17:16:35 (GMT) |
commit | b0d81a985b3f707cc6228dd81e7ad1e6601b643b (patch) | |
tree | 4b9f52b103c0722290432c4974c687a9ae2b984e /generic/tclInt.h | |
parent | 5773d025383ed2c6186a6bcf53e118df17eaceef (diff) | |
parent | 4a9e78c1c81ac5ec6d37a5ead62ff57fa90b0875 (diff) | |
download | tcl-b0d81a985b3f707cc6228dd81e7ad1e6601b643b.zip tcl-b0d81a985b3f707cc6228dd81e7ad1e6601b643b.tar.gz tcl-b0d81a985b3f707cc6228dd81e7ad1e6601b643b.tar.bz2 |
Backport the cheaper Preserve/Release on channels.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index b30650d..dd66d76 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -2504,6 +2504,8 @@ MODULE_SCOPE int TclByteArrayMatch(const unsigned char *string, int strLen, const unsigned char *pattern, int ptnLen, int flags); MODULE_SCOPE double TclCeil(mp_int *a); +MODULE_SCOPE void TclChannelPreserve(Tcl_Channel chan); +MODULE_SCOPE void TclChannelRelease(Tcl_Channel chan); MODULE_SCOPE int TclCheckBadOctal(Tcl_Interp *interp, const char *value); MODULE_SCOPE int TclChanCaughtErrorBypass(Tcl_Interp *interp, Tcl_Channel chan); |