diff options
author | dgp <dgp@users.sourceforge.net> | 2020-04-02 20:18:52 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-04-02 20:18:52 (GMT) |
commit | fbf2a3255bd9e59c1a84415305da87b202330606 (patch) | |
tree | b75d1b87762bccd36fed41ab0d402eaf1b2f4d3b /generic/tclInt.h | |
parent | 39859a5acab91f11ddc915d73ff85b92674d0b8f (diff) | |
download | tcl-fbf2a3255bd9e59c1a84415305da87b202330606.zip tcl-fbf2a3255bd9e59c1a84415305da87b202330606.tar.gz tcl-fbf2a3255bd9e59c1a84415305da87b202330606.tar.bz2 |
New utility routine TclUtfToUCS4() to contain some complexity. Two callers adapted.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index c30a257..74b2cc9 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3186,6 +3186,7 @@ MODULE_SCOPE int TclTrimLeft(const char *bytes, int numBytes, MODULE_SCOPE int TclTrimRight(const char *bytes, int numBytes, const char *trim, int numTrim); MODULE_SCOPE int TclUtfCasecmp(const char *cs, const char *ct); +MODULE_SCOPE int TclUtfToUCS4(const char *src, int *ucs4Ptr); MODULE_SCOPE Tcl_Obj * TclpNativeToNormalized(ClientData clientData); MODULE_SCOPE Tcl_Obj * TclpFilesystemPathType(Tcl_Obj *pathPtr); MODULE_SCOPE int TclpDlopen(Tcl_Interp *interp, Tcl_Obj *pathPtr, |