summaryrefslogtreecommitdiffstats
path: root/doc/GetBitmap.3
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2007-01-05 00:00:46 (GMT)
committernijtmans <nijtmans@noemail.net>2007-01-05 00:00:46 (GMT)
commitdb9f81fe2914e6252472f6ac287ccacc5a6848cd (patch)
treeef0668274bd47be5de7af3d70163084f9e530aa3 /doc/GetBitmap.3
parent6c5b72450817fca34421a2f3519ed3c2490a0775 (diff)
downloadtk-db9f81fe2914e6252472f6ac287ccacc5a6848cd.zip
tk-db9f81fe2914e6252472f6ac287ccacc5a6848cd.tar.gz
tk-db9f81fe2914e6252472f6ac287ccacc5a6848cd.tar.bz2
various "const" additions, in line with TIP #27
fix bug #1627732 FossilOrigin-Name: 3cb10b476b00b2ffc8694865919f758e722cfde4
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