summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-08-30 13:56:22 (GMT)
committernijtmans <nijtmans>2010-08-30 13:56:22 (GMT)
commit032b83a9791f959f924d7b63e708c3bd5d3a626b (patch)
tree12df60b93974cdb5d05e46b6de9c388a346ae2ff
parenta37106179e4c1484469107de089057cd2748090c (diff)
downloadtcl-032b83a9791f959f924d7b63e708c3bd5d3a626b.zip
tcl-032b83a9791f959f924d7b63e708c3bd5d3a626b.tar.gz
tcl-032b83a9791f959f924d7b63e708c3bd5d3a626b.tar.bz2
[Patch 2997642] many type casts needed when using Tcl_Pkg* API. Partly.
-rw-r--r--ChangeLog1
-rw-r--r--doc/PkgRequire.37
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bd1908..3bc7ec7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,7 @@
* generic/tclPkg.c:
* generic/tclStubLib.c: demonstration how this change can benefit code.
* generic/tclTomMathStubLib.c:
+ * doc/PkgRequire.3
2010-08-29 Donal K. Fellows <dkf@users.sf.net>
diff --git a/doc/PkgRequire.3 b/doc/PkgRequire.3
index b4e8a19..b2509b9 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.13 2009/11/27 14:35:10 dkf Exp $
+'\" RCS: @(#) $Id: PkgRequire.3,v 1.14 2010/08/30 13:56:22 nijtmans Exp $
'\"
.so man.macros
.TH Tcl_PkgRequire 3 7.5 Tcl "Tcl Library Procedures"
@@ -52,10 +52,11 @@ acceptable as long as they have the same major version number
as \fIversion\fR.
.AP ClientData clientData in
Arbitrary value to be associated with the package.
-.AP ClientData *clientDataPtr out
+.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.
+function completed successfully. The storage can be any pointer
+type with the same size as ClientData.
.AP int objc in
Number of requirements.
.AP Tcl_Obj* objv[] in