diff options
| author | dgp@users.sourceforge.net <dgp> | 2002-02-08 02:52:54 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2002-02-08 02:52:54 (GMT) |
| commit | 6499678fbd4dd2323d52480cae504b6b06b06907 (patch) | |
| tree | 078abed0538e74a4b78aa55d46462fe102978f63 /generic/tclUtil.c | |
| parent | 5c941caf6b7a0a004226627cdf507b6b3f4eaa0c (diff) | |
| download | tcl-6499678fbd4dd2323d52480cae504b6b06b06907.zip tcl-6499678fbd4dd2323d52480cae504b6b06b06907.tar.gz tcl-6499678fbd4dd2323d52480cae504b6b06b06907.tar.bz2 | |
* Partial TIP 27 rollback. Following routines
restored to return (char *): Tcl_DStringAppend,
Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName,
Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString,
Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also
restored Tcl_WinUtfToTChar to return (TCHAR *) and
Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified
some callers. This change recognizes that Tcl_DStrings are
de-facto white-box objects.
* generic/tclCmdMZ.c: corrected use of C++-style comment.
Diffstat (limited to 'generic/tclUtil.c')
| -rw-r--r-- | generic/tclUtil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 7cdded7..c65fdd5 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUtil.c,v 1.28 2002/01/25 20:40:56 dgp Exp $ + * RCS: @(#) $Id: tclUtil.c,v 1.29 2002/02/08 02:52:54 dgp Exp $ */ #include "tclInt.h" @@ -1411,7 +1411,7 @@ Tcl_DStringInit(dsPtr) *---------------------------------------------------------------------- */ -CONST char * +char * Tcl_DStringAppend(dsPtr, string, length) Tcl_DString *dsPtr; /* Structure describing dynamic string. */ CONST char *string; /* String to append. If length is -1 then @@ -1482,7 +1482,7 @@ Tcl_DStringAppend(dsPtr, string, length) *---------------------------------------------------------------------- */ -CONST char * +char * Tcl_DStringAppendElement(dsPtr, string) Tcl_DString *dsPtr; /* Structure describing dynamic string. */ CONST char *string; /* String to append. Must be |
