diff options
| author | nijtmans <nijtmans> | 2008-07-24 21:54:38 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-07-24 21:54:38 (GMT) |
| commit | 9071acaa1d043e2232bcaaf40478626c592f4ecd (patch) | |
| tree | d6af35eba3a72d32359fa5a28abd6fe83823567d /generic/tclNotify.c | |
| parent | f5c318a9914fba7b800031b5de7b4109212318e7 (diff) | |
| download | tcl-9071acaa1d043e2232bcaaf40478626c592f4ecd.zip tcl-9071acaa1d043e2232bcaaf40478626c592f4ecd.tar.gz tcl-9071acaa1d043e2232bcaaf40478626c592f4ecd.tar.bz2 | |
CONSTified 4 functions in the Notifier which all have a Tcl_Time* in it which is
supposed to be a constant, but this was not reflected in the API:
Tcl_SetTimer
Tcl_WaitForEvent
Tcl_ConditionWait
Tcl_SetMaxBlockTime
Introduced a CONST86, so extensions which have their own Notifier
(are there any?) can be modified to compile against both Tcl 8.5
and Tcl 8.6. This change complies with TIP #24
Diffstat (limited to 'generic/tclNotify.c')
| -rw-r--r-- | generic/tclNotify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c index 0e13379..e6c4d40 100644 --- a/generic/tclNotify.c +++ b/generic/tclNotify.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclNotify.c,v 1.27 2008/06/13 05:45:14 mistachkin Exp $ + * RCS: @(#) $Id: tclNotify.c,v 1.28 2008/07/24 21:54:38 nijtmans Exp $ */ #include "tclInt.h" @@ -794,7 +794,7 @@ Tcl_SetServiceMode( void Tcl_SetMaxBlockTime( - Tcl_Time *timePtr) /* Specifies a maximum elapsed time for the + const Tcl_Time *timePtr) /* Specifies a maximum elapsed time for the * next blocking operation in the event * tsdPtr-> */ { |
