diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2008-07-14 08:22:11 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2008-07-14 08:22:11 (GMT) |
commit | 0e87dee6653b2bbae46ab63cf98efb4b06b7380c (patch) | |
tree | 79720d937b6a45b4d2198754f72cf26f406a40b6 /generic/tclNRE.h | |
parent | 8d88b8afd68de02f280b0221a74a1116bb4f06dd (diff) | |
download | tcl-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.h | 7 |
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; |