summaryrefslogtreecommitdiffstats
path: root/doc/GetBitmap.3
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-05 00:00:47 (GMT)
committernijtmans <nijtmans>2007-01-05 00:00:47 (GMT)
commit5c9860687fc1c16102a753d81ef3cf17392cd998 (patch)
treeef0668274bd47be5de7af3d70163084f9e530aa3 /doc/GetBitmap.3
parenta15b7dcbd6c700fb5f1854f09c0d26cfd53e04bb (diff)
downloadtk-5c9860687fc1c16102a753d81ef3cf17392cd998.zip
tk-5c9860687fc1c16102a753d81ef3cf17392cd998.tar.gz
tk-5c9860687fc1c16102a753d81ef3cf17392cd998.tar.bz2
various "const" additions, in line with TIP #27
fix bug #1627732
Diffstat (limited to 'doc/GetBitmap.3')
-rw-r--r--doc/GetBitmap.310
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/GetBitmap.3 b/doc/GetBitmap.3
index 9848081..9742785 100644
--- a/doc/GetBitmap.3
+++ b/doc/GetBitmap.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: GetBitmap.3,v 1.9 2005/06/21 22:58:53 dkf Exp $
+'\" RCS: @(#) $Id: GetBitmap.3,v 1.10 2007/01/05 00:00:48 nijtmans Exp $
'\"
.so man.macros
.TH Tk_AllocBitmapFromObj 3 8.1 Tk "Tk Library Procedures"
@@ -28,7 +28,7 @@ Pixmap
int
\fBTk_DefineBitmap(\fIinterp, name, source, width, height\fB)\fR
.sp
-CONST char *
+const char *
\fBTk_NameOfBitmap(\fIdisplay, bitmap\fB)\fR
.sp
\fBTk_SizeOfBitmap(\fIdisplay, bitmap, widthPtr, heightPtr\fB)\fR
@@ -46,12 +46,12 @@ Token for window in which the bitmap will be used.
.AP Tcl_Obj *objPtr in/out
String value describes desired bitmap; internal rep will be
modified to cache pointer to corresponding Pixmap.
-.AP "CONST char" *info in
+.AP "const char" *info in
Same as \fIobjPtr\fR except description of bitmap is passed as a string and
resulting Pixmap isn't cached.
-.AP "CONST char" *name in
+.AP "const char" *name in
Name for new bitmap to be defined.
-.AP "CONST char" *source in
+.AP "const char" *source in
Data for bitmap, in standard bitmap format.
Must be stored in static memory whose value will never change.
.AP "int" width in