summaryrefslogtreecommitdiffstats
path: root/doc/PkgRequire.3
diff options
context:
space:
mode:
authorkennykb <kennykb@noemail.net>2001-04-04 16:07:20 (GMT)
committerkennykb <kennykb@noemail.net>2001-04-04 16:07:20 (GMT)
commitca35b41b9aaf5d5d92b62ce0b32903c7a8588ffc (patch)
tree742b0af0f8ca321b69d41c90f80cffe211fd3e73 /doc/PkgRequire.3
parent0b48aaf9ec670de34fd228bc35c692ece17b7979 (diff)
downloadtcl-ca35b41b9aaf5d5d92b62ce0b32903c7a8588ffc.zip
tcl-ca35b41b9aaf5d5d92b62ce0b32903c7a8588ffc.tar.gz
tcl-ca35b41b9aaf5d5d92b62ce0b32903c7a8588ffc.tar.bz2
(TIP#27) Changed a number of Tcl API's to accept "CONST char*"
in place of simple "char*". (kennykb) [Patch #404026] FossilOrigin-Name: bda1abaf857abf5feb7ebd78aeb1f6a60fcbb8c0
Diffstat (limited to 'doc/PkgRequire.3')
-rw-r--r--doc/PkgRequire.314
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/PkgRequire.3 b/doc/PkgRequire.3
index 40cd542..3164259 100644
--- a/doc/PkgRequire.3
+++ b/doc/PkgRequire.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: PkgRequire.3,v 1.4 2000/04/14 23:01:53 hobbs Exp $
+'\" RCS: @(#) $Id: PkgRequire.3,v 1.5 2001/04/04 16:07:20 kennykb Exp $
'\"
.so man.macros
.TH Tcl_PkgRequire 3 7.5 Tcl "Tcl Library Procedures"
@@ -15,16 +15,16 @@ Tcl_PkgRequire, Tcl_PkgRequireEx, Tcl_PkgPresent, Tcl_PkgPresentEx, Tcl_PkgProvi
.nf
\fB#include <tcl.h>\fR
.sp
-char *
+CONST char *
\fBTcl_PkgRequire\fR(\fIinterp, name, version, exact\fR)
.sp
-char *
+CONST char *
\fBTcl_PkgRequireEx\fR(\fIinterp, name, version, exact, clientDataPtr\fR)
.sp
-char *
+CONST char *
\fBTcl_PkgPresent\fR(\fIinterp, name, version, exact\fR)
.sp
-char *
+CONST char *
\fBTcl_PkgPresentEx\fR(\fIinterp, name, version, exact, clientDataPtr\fR)
.sp
int
@@ -36,9 +36,9 @@ int
.AS Tcl_FreeProc clientDataPtr
.AP Tcl_Interp *interp in
Interpreter where package is needed or available.
-.AP char *name in
+.AP "CONST char" *name in
Name of package.
-.AP char *version in
+.AP "CONST char" *version in
A version string consisting of one or more decimal numbers
separated by dots.
.AP int exact in