summaryrefslogtreecommitdiffstats
path: root/generic/tclRegexp.c
diff options
context:
space:
mode:
authorhershey <hershey@noemail.net>1999-06-15 01:16:21 (GMT)
committerhershey <hershey@noemail.net>1999-06-15 01:16:21 (GMT)
commitf9e20884dff3c1c1767909ff8a8072274482521a (patch)
treedc505f5e222817db5fe70f5b9eb5d01607656d12 /generic/tclRegexp.c
parent2fcd88772c5c063d0e625047f98dd6eb579e31f0 (diff)
downloadtcl-f9e20884dff3c1c1767909ff8a8072274482521a.zip
tcl-f9e20884dff3c1c1767909ff8a8072274482521a.tar.gz
tcl-f9e20884dff3c1c1767909ff8a8072274482521a.tar.bz2
Merged String and Unicode object types. Added new functions to
the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated. FossilOrigin-Name: 23b23af342a570dab211294eff79a331869224c5
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r--generic/tclRegexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c
index 7590c8d..3e28224 100644
--- a/generic/tclRegexp.c
+++ b/generic/tclRegexp.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclRegexp.c,v 1.7 1999/06/10 04:28:51 stanton Exp $
+ * RCS: @(#) $Id: tclRegexp.c,v 1.8 1999/06/15 01:16:24 hershey Exp $
*/
#include "tclInt.h"
@@ -429,8 +429,8 @@ Tcl_RegExpMatchObj(interp, re, objPtr, offset, nmatches, flags)
Tcl_IncrRefCount(objPtr);
- udata = TclGetUnicodeFromObj(objPtr);
- length = TclGetUnicodeLengthFromObj(objPtr);
+ udata = Tcl_GetUnicode(objPtr);
+ length = Tcl_GetCharLength(objPtr);
/*
* Save the target object so we can extract strings from it later.