summaryrefslogtreecommitdiffstats
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/CrtImgType.36
-rw-r--r--doc/CrtPhImgFmt.38
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/CrtImgType.3 b/doc/CrtImgType.3
index 805eb1c..5b074d2 100644
--- a/doc/CrtImgType.3
+++ b/doc/CrtImgType.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: CrtImgType.3,v 1.14 2008/06/30 22:57:01 dkf Exp $
+'\" RCS: @(#) $Id: CrtImgType.3,v 1.15 2008/11/09 23:16:56 nijtmans Exp $
'\"
.so man.macros
.TH Tk_CreateImageType 3 8.5 Tk "Tk Library Procedures"
@@ -60,7 +60,7 @@ the name of the image type and pointers to five procedures provided
by the image manager to deal with images of this type:
.CS
typedef struct Tk_ImageType {
- char *\fIname\fR;
+ const char *\fIname\fR;
Tk_ImageCreateProc *\fIcreateProc\fR;
Tk_ImageGetProc *\fIgetProc\fR;
Tk_ImageDisplayProc *\fIdisplayProc\fR;
@@ -110,7 +110,7 @@ an image of the new type.
.CS
typedef int \fBTk_ImageCreateProc\fR(
Tcl_Interp *\fIinterp\fR,
- char *\fIname\fR,
+ const char *\fIname\fR,
int \fIobjc\fR,
Tcl_Obj *const \fIobjv\fR[],
Tk_ImageType *\fItypePtr\fR,
diff --git a/doc/CrtPhImgFmt.3 b/doc/CrtPhImgFmt.3
index cd2fc85..6c535a6 100644
--- a/doc/CrtPhImgFmt.3
+++ b/doc/CrtPhImgFmt.3
@@ -9,7 +9,7 @@
'\" Department of Computer Science,
'\" Australian National University.
'\"
-'\" RCS: @(#) $Id: CrtPhImgFmt.3,v 1.11 2008/06/30 22:57:01 dkf Exp $
+'\" RCS: @(#) $Id: CrtPhImgFmt.3,v 1.12 2008/11/09 23:16:56 nijtmans Exp $
'\"
.so man.macros
.TH Tk_CreatePhotoImageFormat 3 8.5 Tk "Tk Library Procedures"
@@ -22,8 +22,8 @@ Tk_CreatePhotoImageFormat \- define new file format for photo images
.sp
\fBTk_CreatePhotoImageFormat\fR(\fIformatPtr\fR)
.SH ARGUMENTS
-.AS Tk_PhotoImageFormat *formatPtr
-.AP Tk_PhotoImageFormat *formatPtr in
+.AS "const Tk_PhotoImageFormat" *formatPtr
+.AP "const Tk_PhotoImageFormat" *formatPtr in
Structure that defines the new file format.
.BE
.SH DESCRIPTION
@@ -47,7 +47,7 @@ handler to deal with files and strings in this format. The
Tk_PhotoImageFormat structure contains the following fields:
.CS
typedef struct Tk_PhotoImageFormat {
- char *\fIname\fR;
+ const char *\fIname\fR;
Tk_ImageFileMatchProc *\fIfileMatchProc\fR;
Tk_ImageStringMatchProc *\fIstringMatchProc\fR;
Tk_ImageFileReadProc *\fIfileReadProc\fR;