summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-09 23:16:56 (GMT)
committernijtmans <nijtmans>2008-11-09 23:16:56 (GMT)
commit8790cbda7d404e9f8bc351d5349f0ef327575cf9 (patch)
tree861f47b58a3b9d4347b8a379a701dcfbb8facfe3 /generic
parentdd6a96ceda09d92cf81990911e682d0ccc248adb (diff)
downloadtk-8790cbda7d404e9f8bc351d5349f0ef327575cf9.zip
tk-8790cbda7d404e9f8bc351d5349f0ef327575cf9.tar.gz
tk-8790cbda7d404e9f8bc351d5349f0ef327575cf9.tar.bz2
One more (hopefully the last) signature change
in Tk_CreatePhotoImageFormat
Diffstat (limited to 'generic')
-rw-r--r--generic/tk.decls6
-rw-r--r--generic/tkDecls.h10
-rw-r--r--generic/tkImgPhoto.c6
3 files changed, 11 insertions, 11 deletions
diff --git a/generic/tk.decls b/generic/tk.decls
index efd12b6..632c85f 100644
--- a/generic/tk.decls
+++ b/generic/tk.decls
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: tk.decls,v 1.43 2008/11/09 21:53:39 nijtmans Exp $
+# RCS: @(#) $Id: tk.decls,v 1.44 2008/11/09 23:16:56 nijtmans Exp $
library tk
@@ -191,7 +191,7 @@ declare 39 generic {
void Tk_CreateItemType(Tk_ItemType *typePtr)
}
declare 40 generic {
- void Tk_CreatePhotoImageFormat(Tk_PhotoImageFormat *formatPtr)
+ void Tk_CreatePhotoImageFormat(const Tk_PhotoImageFormat *formatPtr)
}
declare 41 generic {
void Tk_CreateSelHandler(Tk_Window tkwin,
@@ -1071,7 +1071,7 @@ declare 272 generic {
void Tk_CreateOldImageType(Tk_ImageType *typePtr)
}
declare 273 generic {
- void Tk_CreateOldPhotoImageFormat(Tk_PhotoImageFormat *formatPtr)
+ void Tk_CreateOldPhotoImageFormat(const Tk_PhotoImageFormat *formatPtr)
}
# Define the platform specific public Tk interface. These functions are
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index 7846f60..a105ab0 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkDecls.h,v 1.38 2008/11/09 21:53:39 nijtmans Exp $
+ * RCS: @(#) $Id: tkDecls.h,v 1.39 2008/11/09 23:16:56 nijtmans Exp $
*/
#ifndef _TKDECLS
@@ -295,7 +295,7 @@ EXTERN void Tk_CreateItemType (Tk_ItemType * typePtr);
#define Tk_CreatePhotoImageFormat_TCL_DECLARED
/* 40 */
EXTERN void Tk_CreatePhotoImageFormat (
- Tk_PhotoImageFormat * formatPtr);
+ const Tk_PhotoImageFormat * formatPtr);
#endif
#ifndef Tk_CreateSelHandler_TCL_DECLARED
#define Tk_CreateSelHandler_TCL_DECLARED
@@ -1692,7 +1692,7 @@ EXTERN void Tk_CreateOldImageType (Tk_ImageType * typePtr);
#define Tk_CreateOldPhotoImageFormat_TCL_DECLARED
/* 273 */
EXTERN void Tk_CreateOldPhotoImageFormat (
- Tk_PhotoImageFormat * formatPtr);
+ const Tk_PhotoImageFormat * formatPtr);
#endif
typedef struct TkStubHooks {
@@ -1746,7 +1746,7 @@ typedef struct TkStubs {
void (*tk_CreateGenericHandler) (Tk_GenericProc * proc, ClientData clientData); /* 37 */
void (*tk_CreateImageType) (Tk_ImageType * typePtr); /* 38 */
void (*tk_CreateItemType) (Tk_ItemType * typePtr); /* 39 */
- void (*tk_CreatePhotoImageFormat) (Tk_PhotoImageFormat * formatPtr); /* 40 */
+ void (*tk_CreatePhotoImageFormat) (const Tk_PhotoImageFormat * formatPtr); /* 40 */
void (*tk_CreateSelHandler) (Tk_Window tkwin, Atom selection, Atom target, Tk_SelectionProc * proc, ClientData clientData, Atom format); /* 41 */
Tk_Window (*tk_CreateWindow) (Tcl_Interp * interp, Tk_Window parent, const char * name, const char * screenName); /* 42 */
Tk_Window (*tk_CreateWindowFromPath) (Tcl_Interp * interp, Tk_Window tkwin, const char * pathName, const char * screenName); /* 43 */
@@ -1979,7 +1979,7 @@ typedef struct TkStubs {
void (*tk_ResetUserInactiveTime) (Display * dpy); /* 270 */
Tcl_Interp * (*tk_Interp) (Tk_Window tkwin); /* 271 */
void (*tk_CreateOldImageType) (Tk_ImageType * typePtr); /* 272 */
- void (*tk_CreateOldPhotoImageFormat) (Tk_PhotoImageFormat * formatPtr); /* 273 */
+ void (*tk_CreateOldPhotoImageFormat) (const Tk_PhotoImageFormat * formatPtr); /* 273 */
} TkStubs;
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index aefcf50..0c19640 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -17,7 +17,7 @@
* Department of Computer Science,
* Australian National University.
*
- * RCS: @(#) $Id: tkImgPhoto.c,v 1.84 2008/10/28 22:33:06 nijtmans Exp $
+ * RCS: @(#) $Id: tkImgPhoto.c,v 1.85 2008/11/09 23:16:56 nijtmans Exp $
*/
#include "tkImgPhoto.h"
@@ -261,7 +261,7 @@ PhotoFormatThreadExitProc(
void
Tk_CreateOldPhotoImageFormat(
- Tk_PhotoImageFormat *formatPtr)
+ const Tk_PhotoImageFormat *formatPtr)
/* Structure describing the format. All of the
* fields except "nextPtr" must be filled in
* by caller. Must not have been passed to
@@ -285,7 +285,7 @@ Tk_CreateOldPhotoImageFormat(
void
Tk_CreatePhotoImageFormat(
- Tk_PhotoImageFormat *formatPtr)
+ const Tk_PhotoImageFormat *formatPtr)
/* Structure describing the format. All of the
* fields except "nextPtr" must be filled in
* by caller. Must not have been passed to