summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-07-01 19:20:36 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-07-01 19:20:36 (GMT)
commitd0f0605e49962b24f78b2274aadeeeb482a387ff (patch)
treebda36dc3f038b452cd1044fc556be6bcfa3d4a1a
parent0402319830914ece12c185ad276b382cc4ef15ce (diff)
parentcb26a29db0b87479d3d6ff6b60448c60f029e547 (diff)
downloadtcl-d0f0605e49962b24f78b2274aadeeeb482a387ff.zip
tcl-d0f0605e49962b24f78b2274aadeeeb482a387ff.tar.gz
tcl-d0f0605e49962b24f78b2274aadeeeb482a387ff.tar.bz2
merge 8.6
-rw-r--r--generic/tclTestObj.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index f36b07f..a637498 100644
--- a/generic/tclTestObj.c
+++ b/generic/tclTestObj.c
@@ -19,6 +19,7 @@
#endif
#include "tclInt.h"
#include "tommath.h"
+#include "tclStringRep.h"
/*
@@ -46,13 +47,6 @@ static int TestobjCmd(ClientData dummy, Tcl_Interp *interp,
int objc, Tcl_Obj *const objv[]);
static int TeststringobjCmd(ClientData dummy, Tcl_Interp *interp,
int objc, Tcl_Obj *const objv[]);
-
-typedef struct TestString {
- int numChars;
- int allocated;
- int maxChars;
- Tcl_UniChar unicode[2];
-} TestString;
#define VARPTR_KEY "TCLOBJTEST_VARPTR"
#define NUMBER_OF_OBJECT_VARS 20
@@ -1141,7 +1135,7 @@ TeststringobjCmd(
int varIndex, option, i, length;
#define MAX_STRINGS 11
const char *index, *string, *strings[MAX_STRINGS+1];
- TestString *strPtr;
+ String *strPtr;
Tcl_Obj **varPtr;
static const char *const options[] = {
"append", "appendstrings", "get", "get2", "length", "length2",