summaryrefslogtreecommitdiffstats
path: root/generic/tclTestObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-01 14:14:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-01 14:14:19 (GMT)
commita61719a35c58b7b570c5fcbd44c333906cb82367 (patch)
tree3bf2cdb56b10278ee130d423ee86f742d51fe5ec /generic/tclTestObj.c
parentfb15425b36070fb5fe42807956a679f5ecbf096b (diff)
parent064cf7ed1232f4b7eb6cea4be782bdd6d77e1c49 (diff)
downloadtcl-a61719a35c58b7b570c5fcbd44c333906cb82367.zip
tcl-a61719a35c58b7b570c5fcbd44c333906cb82367.tar.gz
tcl-a61719a35c58b7b570c5fcbd44c333906cb82367.tar.bz2
Merge trunk
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r--generic/tclTestObj.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index adc6063..a77d87a 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 {
- int numChars;
- int allocated;
- int maxChars;
- Tcl_UniChar unicode[2];
-} TestString;
#define VARPTR_KEY "TCLOBJTEST_VARPTR"
#define NUMBER_OF_OBJECT_VARS 20
@@ -1142,7 +1136,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",