summaryrefslogtreecommitdiffstats
path: root/doc/PkgRequire.3
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-08-31 20:53:17 (GMT)
committernijtmans <nijtmans>2010-08-31 20:53:17 (GMT)
commit95a09f18c6704c0f2dcd4f62122f1cadfe828988 (patch)
treefb65c28dd7dca4979c83a799e1729b002996172d /doc/PkgRequire.3
parentc7a29d8a5192bc554c5019ba53d8041aa12eb963 (diff)
downloadtcl-95a09f18c6704c0f2dcd4f62122f1cadfe828988.zip
tcl-95a09f18c6704c0f2dcd4f62122f1cadfe828988.tar.gz
tcl-95a09f18c6704c0f2dcd4f62122f1cadfe828988.tar.bz2
[Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part, doc.
Diffstat (limited to 'doc/PkgRequire.3')
-rw-r--r--doc/PkgRequire.38
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/PkgRequire.3 b/doc/PkgRequire.3
index b2509b9..7581bed 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.14 2010/08/30 13:56:22 nijtmans Exp $
+'\" RCS: @(#) $Id: PkgRequire.3,v 1.15 2010/08/31 20:53:17 nijtmans Exp $
'\"
.so man.macros
.TH Tcl_PkgRequire 3 7.5 Tcl "Tcl Library Procedures"
@@ -36,7 +36,7 @@ int
int
\fBTcl_PkgProvideEx\fR(\fIinterp, name, version, clientData\fR)
.SH ARGUMENTS
-.AS ClientData clientDataPtr out
+.AS void *clientDataPtr out
.AP Tcl_Interp *interp in
Interpreter where package is needed or available.
.AP "const char" *name in
@@ -50,13 +50,13 @@ Non-zero means that only the particular version specified by
Zero means that newer versions than \fIversion\fR are also
acceptable as long as they have the same major version number
as \fIversion\fR.
-.AP ClientData clientData in
+.AP "const void" *clientData in
Arbitrary value to be associated with the package.
.AP void *clientDataPtr out
Pointer to place to store the value associated with the matching
package. It is only changed if the pointer is not NULL and the
function completed successfully. The storage can be any pointer
-type with the same size as ClientData.
+type with the same size as a void pointer.
.AP int objc in
Number of requirements.
.AP Tcl_Obj* objv[] in