diff options
author | dgp <dgp@noemail.net> | 2001-09-25 16:25:19 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2001-09-25 16:25:19 (GMT) |
commit | 3107ae27f8a08309310103a755614140643b0ca0 (patch) | |
tree | 6e45150fb4ffc49a55a84c473b393c1b01745056 /generic/tkInt.decls | |
parent | 299ad283b257d28fb40df38a0e39751a25b586e7 (diff) | |
download | tk-3107ae27f8a08309310103a755614140643b0ca0.zip tk-3107ae27f8a08309310103a755614140643b0ca0.tar.gz tk-3107ae27f8a08309310103a755614140643b0ca0.tar.bz2 |
* Corrected definition of
TkpScanWindowId to handle situation where types Window and int
do not have the same number of bits. CONST-ified too.
FossilOrigin-Name: d188a1554439cf516fc1428147fcb58c7d2a0978
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r-- | generic/tkInt.decls | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index eb6e821..71d5690 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: tkInt.decls,v 1.20 2001/09/21 21:19:43 hobbs Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.21 2001/09/25 16:25:20 dgp Exp $ library tk @@ -679,6 +679,10 @@ declare 7 unix { void TkUnixSetMenubar (Tk_Window tkwin, Tk_Window menubar) } +declare 8 unix { + int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr) +} + ############################ # Windows specific functions @@ -703,7 +707,7 @@ declare 5 win { } declare 6 win { - int TkpScanWindowId (Tcl_Interp *interp, char *string, Window *idPtr) + int TkpScanWindowId (Tcl_Interp *interp, CONST char *string, Window *idPtr) } declare 7 win { |