diff options
author | bch <brad.harder@gmail.com> | 2015-02-19 19:16:37 (GMT) |
---|---|---|
committer | bch <brad.harder@gmail.com> | 2015-02-19 19:16:37 (GMT) |
commit | 44aa000539d0865e99c9bc3f4d4c2984d1eeb876 (patch) | |
tree | 6554159d5633945afa879a547cb95a3ee44cba6d | |
parent | b4f7cc1d1c5975560bc0820a83d2fe6e6f1deaf0 (diff) | |
download | tcl-44aa000539d0865e99c9bc3f4d4c2984d1eeb876.zip tcl-44aa000539d0865e99c9bc3f4d4c2984d1eeb876.tar.gz tcl-44aa000539d0865e99c9bc3f4d4c2984d1eeb876.tar.bz2 |
backout backwards-incompatible experiment that was accidentally committedtclchan_assertions
-rw-r--r-- | generic/tclIORChan.c | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c index 0f7f021..21c766e 100644 --- a/generic/tclIORChan.c +++ b/generic/tclIORChan.c @@ -30,8 +30,6 @@ /* * Signatures of all functions used in the C layer of the reflection. */ -static int ReflectGetHandle( ClientData instanceData, - int direction, ClientData *handlePtr); static int ReflectClose(ClientData clientData, Tcl_Interp *interp); @@ -70,7 +68,7 @@ static const Tcl_ChannelType tclRChannelType = { ReflectSetOption, /* Set options. NULL'able */ ReflectGetOption, /* Get options. NULL'able */ ReflectWatch, /* Initialize notifier */ - ReflectGetHandle, /* Get OS handle from the channel. */ + NULL, /* Get OS handle from the channel. NULL'able */ NULL, /* No close2 support. NULL'able */ ReflectBlock, /* Set blocking/nonblocking. NULL'able */ NULL, /* Flush channel. Not used by core. NULL'able */ @@ -1646,32 +1644,6 @@ ReflectWatch( /* *---------------------------------------------------------------------- * - * ReflectGetHandle -- - * - * This function is invoked to return OS channel handles, or EINVAL - * if not applicable or otherwise invalid. - * - * Results: - * EINVAL. - * - * Side effects: - * None. - * - *---------------------------------------------------------------------- - */ - -int -ReflectGetHandle( - ClientData instanceData, - int direction, - ClientData *handlePtr) -{ - return EINVAL; -} - -/* - *---------------------------------------------------------------------- - * * ReflectBlock -- * * This function is invoked to tell the channel which blocking behaviour |