ReportTcl const resolves #166
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
87418f23b1
commit
80ecdf267f
|
|
@ -77,41 +77,41 @@ encapSeekProc(ClientData instanceData,
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|
||||||
Tcl_ChannelType tcl_encap_type_stdout = {
|
Tcl_ChannelType tcl_encap_type_stdout = {
|
||||||
"file",
|
const_cast<char*>("file"),
|
||||||
TCL_CHANNEL_VERSION_5,
|
TCL_CHANNEL_VERSION_5,
|
||||||
#if TCL_MAJOR_VERSION < 9
|
#if TCL_MAJOR_VERSION < 9
|
||||||
encapCloseProc,
|
encapCloseProc,
|
||||||
#else
|
#else
|
||||||
nullptr, // closeProc unused
|
nullptr, // closeProc unused
|
||||||
#endif
|
#endif
|
||||||
encapInputProc,
|
encapInputProc,
|
||||||
encapOutputProc,
|
encapOutputProc,
|
||||||
#if TCL_MAJOR_VERSION < 9
|
#if TCL_MAJOR_VERSION < 9
|
||||||
encapSeekProc,
|
encapSeekProc,
|
||||||
#else
|
#else
|
||||||
nullptr, // close2Proc
|
nullptr, // close2Proc
|
||||||
#endif
|
#endif
|
||||||
encapSetOptionProc,
|
encapSetOptionProc,
|
||||||
encapGetOptionProc,
|
encapGetOptionProc,
|
||||||
encapWatchProc,
|
encapWatchProc,
|
||||||
encapGetHandleProc,
|
encapGetHandleProc,
|
||||||
nullptr, // close2Proc
|
nullptr, // close2Proc
|
||||||
encapBlockModeProc,
|
encapBlockModeProc,
|
||||||
nullptr, // flushProc
|
nullptr, // flushProc
|
||||||
nullptr, // handlerProc
|
nullptr, // handlerProc
|
||||||
nullptr, // wideSeekProc
|
nullptr, // wideSeekProc
|
||||||
nullptr, // threadActionProc
|
nullptr, // threadActionProc
|
||||||
nullptr // truncateProc
|
nullptr // truncateProc
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
ReportTcl::ReportTcl() :
|
ReportTcl::ReportTcl() :
|
||||||
Report(), interp_(nullptr),
|
Report(), interp_(nullptr),
|
||||||
tcl_stdout_(nullptr),
|
tcl_stdout_(nullptr),
|
||||||
tcl_stderr_(nullptr),
|
tcl_stderr_(nullptr),
|
||||||
tcl_encap_stdout_(nullptr),
|
tcl_encap_stdout_(nullptr),
|
||||||
tcl_encap_stderr_(nullptr)
|
tcl_encap_stderr_(nullptr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue