diff options
author | dgp <dgp@users.sourceforge.net> | 2016-07-06 15:50:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-07-06 15:50:34 (GMT) |
commit | 3b1d8286ed07d9ddcea89d5e11497062a77dc85e (patch) | |
tree | f89984349c6213fbe322208ea01d5ae6f1339c27 /generic/tclDictObj.c | |
parent | 891343f5d41ec457a94e65d9ae347de0f039c68a (diff) | |
download | tcl-3b1d8286ed07d9ddcea89d5e11497062a77dc85e.zip tcl-3b1d8286ed07d9ddcea89d5e11497062a77dc85e.tar.gz tcl-3b1d8286ed07d9ddcea89d5e11497062a77dc85e.tar.bz2 |
Simplify all the Tcl_NRPostProc declarations.
Diffstat (limited to 'generic/tclDictObj.c')
-rw-r--r-- | generic/tclDictObj.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c index c8474e6..428173d 100644 --- a/generic/tclDictObj.c +++ b/generic/tclDictObj.c @@ -70,18 +70,12 @@ static inline void DeleteChainTable(struct Dict *dict); static inline Tcl_HashEntry *CreateChainEntry(struct Dict *dict, Tcl_Obj *keyPtr, int *newPtr); static inline int DeleteChainEntry(struct Dict *dict, Tcl_Obj *keyPtr); -static int FinalizeDictUpdate(ClientData data[], - Tcl_Interp *interp, int result); -static int FinalizeDictWith(ClientData data[], - Tcl_Interp *interp, int result); -static int DictForNRCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const *objv); -static int DictMapNRCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const *objv); -static int DictForLoopCallback(ClientData data[], - Tcl_Interp *interp, int result); -static int DictMapLoopCallback(ClientData data[], - Tcl_Interp *interp, int result); +static Tcl_NRPostProc FinalizeDictUpdate; +static Tcl_NRPostProc FinalizeDictWith; +static Tcl_ObjCmdProc DictForNRCmd; +static Tcl_ObjCmdProc DictMapNRCmd; +static Tcl_NRPostProc DictForLoopCallback; +static Tcl_NRPostProc DictMapLoopCallback; /* * Table of dict subcommand names and implementations. |