summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-08 10:28:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-08 10:28:48 (GMT)
commit7de7029fa536bea308baf31b470cfceb3c4a626d (patch)
tree2b8995478cfb59e408b65de66a7a0c682f23bca7 /generic/tclBinary.c
parent1e5db76cc11b9774a8abcb29ca4ec50a6903819e (diff)
downloadtcl-7de7029fa536bea308baf31b470cfceb3c4a626d.zip
tcl-7de7029fa536bea308baf31b470cfceb3c4a626d.tar.gz
tcl-7de7029fa536bea308baf31b470cfceb3c4a626d.tar.bz2
Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj in many places where possible.
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r--generic/tclBinary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index 981f174..9a5771e 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -2500,7 +2500,7 @@ BinaryEncode64(
}
break;
case OPT_WRAPCHAR:
- wrapchar = Tcl_GetStringFromObj(objv[i+1], &wrapcharlen);
+ wrapchar = TclGetStringFromObj(objv[i+1], &wrapcharlen);
if (wrapcharlen == 0) {
maxlen = 0;
}