summaryrefslogtreecommitdiffstats
path: root/generic/tclNRE.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-07-14 08:22:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-07-14 08:22:11 (GMT)
commit0e87dee6653b2bbae46ab63cf98efb4b06b7380c (patch)
tree79720d937b6a45b4d2198754f72cf26f406a40b6 /generic/tclNRE.h
parent8d88b8afd68de02f280b0221a74a1116bb4f06dd (diff)
downloadtcl-0e87dee6653b2bbae46ab63cf98efb4b06b7380c.zip
tcl-0e87dee6653b2bbae46ab63cf98efb4b06b7380c.tar.gz
tcl-0e87dee6653b2bbae46ab63cf98efb4b06b7380c.tar.bz2
Store ClientDatas in NRE callback storage as an array; that's how they are
referred to in callback implementations anyway.
Diffstat (limited to 'generic/tclNRE.h')
-rw-r--r--generic/tclNRE.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/generic/tclNRE.h b/generic/tclNRE.h
index d892f61..729cf51 100644
--- a/generic/tclNRE.h
+++ b/generic/tclNRE.h
@@ -11,7 +11,7 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* // FIXME: RCS numbering?
- * RCS: @(#) $Id: tclNRE.h,v 1.1 2008/07/13 09:04:54 msofer Exp $
+ * RCS: @(#) $Id: tclNRE.h,v 1.2 2008/07/14 08:22:14 dkf Exp $
*/
@@ -90,10 +90,7 @@ struct ByteCode;
/* Fill up a SmallAlloc: 4 free ptrs for the user */
typedef struct TEOV_callback {
TclNR_PostProc *procPtr;
- ClientData data0;
- ClientData data1;
- ClientData data2;
- ClientData data3;
+ ClientData data[4];
struct TEOV_callback *nextPtr;
} TEOV_callback;