diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-29 13:10:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-29 13:10:30 (GMT) |
commit | 6e4592be32b35bcfdf27068df712332db8626f9c (patch) | |
tree | f458d29c81bcbe51c8c286fd96e205a7e2ec5a21 /generic/tclLoad.c | |
parent | f6e07341e6d9bc5be18d57dc08c1bed03f036212 (diff) | |
download | tcl-6e4592be32b35bcfdf27068df712332db8626f9c.zip tcl-6e4592be32b35bcfdf27068df712332db8626f9c.tar.gz tcl-6e4592be32b35bcfdf27068df712332db8626f9c.tar.bz2 |
Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in functionality, just faster if ASCII only strings are involved.
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r-- | generic/tclLoad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c index 7c70e03..942e6b4 100644 --- a/generic/tclLoad.c +++ b/generic/tclLoad.c @@ -336,7 +336,7 @@ Tcl_LoadObjCmd( } #endif /* __CYGWIN__ */ for (p = pkgGuess; *p != 0; p += offset) { - offset = Tcl_UtfToUniChar(p, &ch); + offset = TclUtfToUniChar(p, &ch); if ((ch > 0x100) || !(isalpha(UCHAR(ch)) /* INTL: ISO only */ || (UCHAR(ch) == '_'))) { |