summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-07 12:02:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-07 12:02:02 (GMT)
commit5f463929dc401c903a7c700668aae1ee3f553d88 (patch)
treead20226c100a37aa583e319da8ca723f4ad7cd2d
parent171c902b63a5523d44cc6d3337f5030b3cd7f5e8 (diff)
parent4c7ea5a2c1af619540bbfa105a892265519e2564 (diff)
downloadtcl-5f463929dc401c903a7c700668aae1ee3f553d88.zip
tcl-5f463929dc401c903a7c700668aae1ee3f553d88.tar.gz
tcl-5f463929dc401c903a7c700668aae1ee3f553d88.tar.bz2
Merge 9.0
-rw-r--r--doc/StaticLibrary.310
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/StaticLibrary.3 b/doc/StaticLibrary.3
index 35cd5f3..83a9a07 100644
--- a/doc/StaticLibrary.3
+++ b/doc/StaticLibrary.3
@@ -8,12 +8,14 @@
.so man.macros
.BS
.SH NAME
-Tcl_StaticLibrary \- make a statically linked library available via the 'load' command
+Tcl_StaticLibrary, Tcl_StaticPackage \- make a statically linked library available via the 'load' command
.SH SYNOPSIS
.nf
\fB#include <tcl.h>\fR
.sp
\fBTcl_StaticLibrary\fR(\fIinterp, prefix, initProc, safeInitProc\fR)
+.sp
+\fBTcl_StaticPackage\fR(\fIinterp, prefix, initProc, safeInitProc\fR)
.SH ARGUMENTS
.AS Tcl_LibraryInitProc *safeInitProc
.AP Tcl_Interp *interp in
@@ -65,11 +67,11 @@ error message. The result or error from the initialization procedure will
be returned as the result of the \fBload\fR command that caused the
initialization procedure to be invoked.
.PP
-\fBTcl_StaticLibrary\fR can not be safely used by stub-enabled extensions,
-so its symbol is not included in the stub table.
-.PP
\fBTcl_StaticLibrary\fR was named \fBTcl_StaticPackage\fR in Tcl 8.6 and
earlier, but the old name is deprecated now.
+.PP
+\fBTcl_StaticLibrary\fR can not be safely used by stub-enabled extensions,
+so its symbol is not included in the stub table.
.SH KEYWORDS
initialization procedure, package, static linking
.SH "SEE ALSO"