diff options
Diffstat (limited to 'contrib/tcl/doc/StaticPkg.3')
-rw-r--r-- | contrib/tcl/doc/StaticPkg.3 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/contrib/tcl/doc/StaticPkg.3 b/contrib/tcl/doc/StaticPkg.3 index 729e91cd4afdd..ccb1a694ed704 100644 --- a/contrib/tcl/doc/StaticPkg.3 +++ b/contrib/tcl/doc/StaticPkg.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. '\" -'\" SCCS: @(#) StaticPkg.3 1.3 96/03/15 08:29:37 +'\" SCCS: @(#) StaticPkg.3 1.4 96/09/04 11:21:26 '\" .so man.macros .TH Tcl_StaticPackage 3 7.5 Tcl "Tcl Library Procedures" @@ -38,12 +38,15 @@ can't be used in safe interpreters. .SH DESCRIPTION .PP This procedure may be invoked to announce that a package has been -linked statically with a Tcl application and, optionally, that it +linked statically with a Tcl application and, optionally, that it has already been loaded into an interpreter. -\fBTcl_StaticPackage\fR is typically invoked by the \fBTcl_AppInit\fR -procedure for the application. Once \fBTcl_StaticPackage\fR has been invoked for a package, it may be loaded into interpreters using the \fBload\fR command. +\fBTcl_StaticPackage\fR is normally invoked only by the \fBTcl_AppInit\fR +procedure for the application, not by packages for themselves +(\fBTcl_StaticPackage\fR should only be invoked for statically +loaded packages, and code in the package itself should not need +to know whether the package is dynamically or statically loaded). .PP When the \fBload\fR command is used later to load the package into an interpreter, one of \fIinitProc\fR and \fIsafeInitProc\fR will |