diff options
author | nijtmans <nijtmans@noemail.net> | 2010-01-29 19:30:54 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-01-29 19:30:54 (GMT) |
commit | c3c0ab36f043e7a119a359618966fb63d7945f9a (patch) | |
tree | 89edcc7ea2e3e698f4ec8bce1117befdfc260abe /generic | |
parent | 69f99f9864e67f7619f3cc1f2ae5278e109fa8e7 (diff) | |
download | tcl-c3c0ab36f043e7a119a359618966fb63d7945f9a.zip tcl-c3c0ab36f043e7a119a359618966fb63d7945f9a.tar.gz tcl-c3c0ab36f043e7a119a359618966fb63d7945f9a.tar.bz2 |
Reverted Tcl_ThreadDataKey type change,
see Bug #2942081
Changed some Tcl_CallFrame fields from "char *"
to "void *". This saves unnecessary space on
Cray's (and it's simply more correct).
FossilOrigin-Name: 347767151a37f5c530c8d7b51840f495d5123317
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tcl.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 21e97cc..48fe4cd 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tcl.h,v 1.299 2010/01/29 16:17:20 nijtmans Exp $ + * RCS: @(#) $Id: tcl.h,v 1.300 2010/01/29 19:30:55 nijtmans Exp $ */ #ifndef _TCL @@ -499,14 +499,13 @@ typedef struct Tcl_LoadHandle_ *Tcl_LoadHandle; typedef struct Tcl_Mutex_ *Tcl_Mutex; typedef struct Tcl_Pid_ *Tcl_Pid; typedef struct Tcl_RegExp_ *Tcl_RegExp; +typedef struct Tcl_ThreadDataKey_ *Tcl_ThreadDataKey; typedef struct Tcl_ThreadId_ *Tcl_ThreadId; typedef struct Tcl_TimerToken_ *Tcl_TimerToken; typedef struct Tcl_Trace_ *Tcl_Trace; typedef struct Tcl_Var_ *Tcl_Var; typedef struct Tcl_ZLibStream_ *Tcl_ZlibStream; -typedef void *Tcl_ThreadDataKey; - /* * Definition of the interface to functions implementing threads. A function * following this definition is given to each call of 'Tcl_CreateThread' and @@ -876,17 +875,17 @@ typedef struct Tcl_CallFrame { Tcl_Namespace *nsPtr; int dummy1; int dummy2; - char *dummy3; - char *dummy4; - char *dummy5; + void *dummy3; + void *dummy4; + void *dummy5; int dummy6; - char *dummy7; - char *dummy8; + void *dummy7; + void *dummy8; int dummy9; - char *dummy10; - char *dummy11; - char *dummy12; - char *dummy13; + void *dummy10; + void *dummy11; + void *dummy12; + void *dummy13; } Tcl_CallFrame; /* |