summaryrefslogtreecommitdiffstats
path: root/doc/CrtPhImgFmt.3
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/CrtPhImgFmt.3
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/CrtPhImgFmt.3')
-rw-r--r--doc/CrtPhImgFmt.38
1 files changed, 4 insertions, 4 deletions
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;