diff options
author | hobbs <hobbs> | 2002-04-12 10:10:48 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-04-12 10:10:48 (GMT) |
commit | c3e0d00464979b61e3ccc6107edf6d061278239d (patch) | |
tree | 5a848cb682145a0327b9219a4b0d9cdfd3eb7fac /generic/tkIntPlatDecls.h | |
parent | 8e510069debe72b6010098ecdac9867c534a5c6e (diff) | |
download | tk-c3e0d00464979b61e3ccc6107edf6d061278239d.zip tk-c3e0d00464979b61e3ccc6107edf6d061278239d.tar.gz tk-c3e0d00464979b61e3ccc6107edf6d061278239d.tar.bz2 |
* generic/tkStubInit.c:
* generic/tkIntPlatDecls.h:
* generic/tkIntDecls.h:
* generic/tkInt.decls: added TkFocusFree, TkClipCleanup and
TkGCCleanup generic private procs, and TkWmCleanup, TkSendCleanup
and TkFreeXId unix private procs.
Diffstat (limited to 'generic/tkIntPlatDecls.h')
-rw-r--r-- | generic/tkIntPlatDecls.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index fffa782..411fc0c 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -9,7 +9,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.10 2001/11/23 02:05:16 das Exp $ + * RCS: @(#) $Id: tkIntPlatDecls.h,v 1.11 2002/04/12 10:10:48 hobbs Exp $ */ #ifndef _TKINTPLATDECLS @@ -55,6 +55,12 @@ EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin, /* 8 */ EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr)); +/* 9 */ +EXTERN void TkWmCleanup _ANSI_ARGS_((TkDisplay * dispPtr)); +/* 10 */ +EXTERN void TkSendCleanup _ANSI_ARGS_((TkDisplay * dispPtr)); +/* 11 */ +EXTERN void TkFreeXId _ANSI_ARGS_((TkDisplay * dispPtr)); #endif /* UNIX */ #ifdef __WIN32__ /* 0 */ @@ -297,6 +303,9 @@ typedef struct TkIntPlatStubs { int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr)); /* 6 */ void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar)); /* 7 */ int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr)); /* 8 */ + void (*tkWmCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 9 */ + void (*tkSendCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 10 */ + void (*tkFreeXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 11 */ #endif /* UNIX */ #ifdef __WIN32__ char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder)); /* 0 */ @@ -456,6 +465,18 @@ extern TkIntPlatStubs *tkIntPlatStubsPtr; #define TkpScanWindowId \ (tkIntPlatStubsPtr->tkpScanWindowId) /* 8 */ #endif +#ifndef TkWmCleanup +#define TkWmCleanup \ + (tkIntPlatStubsPtr->tkWmCleanup) /* 9 */ +#endif +#ifndef TkSendCleanup +#define TkSendCleanup \ + (tkIntPlatStubsPtr->tkSendCleanup) /* 10 */ +#endif +#ifndef TkFreeXId +#define TkFreeXId \ + (tkIntPlatStubsPtr->tkFreeXId) /* 11 */ +#endif #endif /* UNIX */ #ifdef __WIN32__ #ifndef TkAlignImageData |