diff options
author | nijtmans <nijtmans> | 2008-10-15 06:41:06 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-15 06:41:06 (GMT) |
commit | 61b16774d545ab31705be8fda1520731cb0075f7 (patch) | |
tree | 29f5c39636b7be9789e731887bc5a58b1b1ee2f3 /generic/tkInt.h | |
parent | d7a70751627660bb7343dab5abda94a068388dd1 (diff) | |
download | tk-61b16774d545ab31705be8fda1520731cb0075f7.zip tk-61b16774d545ab31705be8fda1520731cb0075f7.tar.gz tk-61b16774d545ab31705be8fda1520731cb0075f7.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/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 03ad61d..ac46234 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -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: tkInt.h,v 1.84 2008/10/14 13:24:32 dkf Exp $ + * RCS: $Id: tkInt.h,v 1.85 2008/10/15 06:41:06 nijtmans Exp $ */ #ifndef _TKINT @@ -931,14 +931,14 @@ extern TkDisplay *tkDisplayList; * be properly registered with Tcl: */ -MODULE_SCOPE Tcl_ObjType tkBorderObjType; -MODULE_SCOPE Tcl_ObjType tkBitmapObjType; -MODULE_SCOPE Tcl_ObjType tkColorObjType; -MODULE_SCOPE Tcl_ObjType tkCursorObjType; -MODULE_SCOPE Tcl_ObjType tkFontObjType; -MODULE_SCOPE Tcl_ObjType tkOptionObjType; -MODULE_SCOPE Tcl_ObjType tkStateKeyObjType; -MODULE_SCOPE Tcl_ObjType tkTextIndexType; +MODULE_SCOPE const Tcl_ObjType tkBorderObjType; +MODULE_SCOPE const Tcl_ObjType tkBitmapObjType; +MODULE_SCOPE const Tcl_ObjType tkColorObjType; +MODULE_SCOPE const Tcl_ObjType tkCursorObjType; +MODULE_SCOPE const Tcl_ObjType tkFontObjType; +MODULE_SCOPE const Tcl_ObjType tkOptionObjType; +MODULE_SCOPE const Tcl_ObjType tkStateKeyObjType; +MODULE_SCOPE const Tcl_ObjType tkTextIndexType; /* * Miscellaneous variables shared among Tk modules but not exported to the |