From 032b83a9791f959f924d7b63e708c3bd5d3a626b Mon Sep 17 00:00:00 2001 From: nijtmans Date: Mon, 30 Aug 2010 13:56:22 +0000 Subject: [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Partly. --- ChangeLog | 1 + doc/PkgRequire.3 | 7 ++++--- 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 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 -- cgit v0.12