diff options
author | stu <stwo@users.sourceforge.net> | 2017-05-31 06:59:27 (GMT) |
---|---|---|
committer | stu <stwo@users.sourceforge.net> | 2017-05-31 06:59:27 (GMT) |
commit | 51b616c6fb451a91e7ac680f3998eef84c352658 (patch) | |
tree | 48f1cf99468c4ff6974645156b81b56d46e50f14 /generic/tclIO.c | |
parent | 614f9ac03efef66abf28da76d8a8580f5dd4a7f6 (diff) | |
download | tcl-51b616c6fb451a91e7ac680f3998eef84c352658.zip tcl-51b616c6fb451a91e7ac680f3998eef84c352658.tar.gz tcl-51b616c6fb451a91e7ac680f3998eef84c352658.tar.bz2 |
Change the return type of Tcl_WrongNumArgs from void to int
and have Tcl_WrongNumArgs always return TCL_ERROR.
This is a convenience to the programmer.
Most of the time in existing code, a call to Tcl_WrongNumArgs
is immediately followed by return TCL_ERROR.
Old: Tcl_WrongNumArgs(...); return TCL_ERROR;
New: return Tcl_WrongNumArgs(...);
Diffstat (limited to 'generic/tclIO.c')
0 files changed, 0 insertions, 0 deletions