From 95a09f18c6704c0f2dcd4f62122f1cadfe828988 Mon Sep 17 00:00:00 2001 From: nijtmans Date: Tue, 31 Aug 2010 20:53:17 +0000 Subject: [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part, doc. --- ChangeLog | 1 + doc/PkgRequire.3 | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 92f59c8..33f10e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ * generic/tclPkg.c: * generic/tclBasic.c: * generic/tclTomMathInterface.c: + * doc/PkgRequire.3 2010-08-31 Andreas Kupries 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 -- cgit v0.12