diff options
| author | nijtmans <nijtmans> | 2008-10-15 06:17:03 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-10-15 06:17:03 (GMT) |
| commit | 85394b42d395a689ed59d581e830bf82969b0a50 (patch) | |
| tree | 20cca6f694fead4ac88a820249260a91c18a3387 /generic/tclStringObj.c | |
| parent | d98b1be79a773403b15c3cf8d9de9c4f03e84995 (diff) | |
| download | tcl-85394b42d395a689ed59d581e830bf82969b0a50.zip tcl-85394b42d395a689ed59d581e830bf82969b0a50.tar.gz tcl-85394b42d395a689ed59d581e830bf82969b0a50.tar.bz2 | |
Add "const" to many internal
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
Diffstat (limited to 'generic/tclStringObj.c')
| -rw-r--r-- | generic/tclStringObj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 16a5bae..4a7d0f4 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -33,7 +33,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStringObj.c,v 1.71 2008/04/07 15:23:10 rmax Exp $ */ + * RCS: @(#) $Id: tclStringObj.c,v 1.72 2008/10/15 06:17:04 nijtmans Exp $ */ #include "tclInt.h" #include "tommath.h" @@ -64,7 +64,7 @@ static void UpdateStringOfString(Tcl_Obj *objPtr); * functions that can be invoked by generic object code. */ -Tcl_ObjType tclStringType = { +const Tcl_ObjType tclStringType = { "string", /* name */ FreeStringInternalRep, /* freeIntRepPro */ DupStringInternalRep, /* dupIntRepProc */ |
