diff options
author | nijtmans <nijtmans> | 2010-08-31 20:53:17 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-08-31 20:53:17 (GMT) |
commit | 95a09f18c6704c0f2dcd4f62122f1cadfe828988 (patch) | |
tree | fb65c28dd7dca4979c83a799e1729b002996172d | |
parent | c7a29d8a5192bc554c5019ba53d8041aa12eb963 (diff) | |
download | tcl-95a09f18c6704c0f2dcd4f62122f1cadfe828988.zip tcl-95a09f18c6704c0f2dcd4f62122f1cadfe828988.tar.gz tcl-95a09f18c6704c0f2dcd4f62122f1cadfe828988.tar.bz2 |
[Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part, doc.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | doc/PkgRequire.3 | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -8,6 +8,7 @@ * generic/tclPkg.c: * generic/tclBasic.c: * generic/tclTomMathInterface.c: + * doc/PkgRequire.3 2010-08-31 Andreas Kupries <andreask@activestate.com> 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 |